[r-cran-vcd] 22/22: New upstream version; added citation information and autopkgtest

Sébastien Villemot sebastien at debian.org
Mon Nov 20 12:33:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to annotated tag debian/1.3-1-1
in repository r-cran-vcd.

commit dfa57749d67c665603c2b25b11bbbce96ed8885c
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jun 20 13:33:14 2014 +0000

    New upstream version; added citation information and autopkgtest
---
 README.test         | 10 +++++-----
 changelog           |  8 ++++++++
 control             |  4 ++--
 copyright           | 10 +++++-----
 docs                |  1 +
 tests/control       |  3 +++
 tests/run-unit-test | 13 +++++++++++++
 upstream/metadata   | 10 ++++++++++
 8 files changed, 47 insertions(+), 12 deletions(-)

diff --git a/README.test b/README.test
index 83048a9..0fe5d4e 100644
--- a/README.test
+++ b/README.test
@@ -1,10 +1,10 @@
 Notes on how this package can be tested.
 ────────────────────────────────────────
 
-This package can be tested by loading it into R with the command
-‘library(vcd)’ in order to confirm its integrity.
+To run the unit tests provided by the package you can do
 
-You can also refer to /usr/share/doc/r-cran-vcd/tests/demos.R for a list of
-demos you can run in an interactive session.
+   sh  run-unit-test
 
- -- Charles Plessy <plessy at debian.org>  Mon, 06 Jun 2011 13:14:24 +0900
+in this directory.
+
+ -- Andreas Tille <tille at debian.org>  Fri, 20 Jun 2014 15:25:06 +0200
diff --git a/changelog b/changelog
index 7ea43c7..73ace01 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,11 @@
+r-cran-vcd (1:1.3-1-1) unstable; urgency=medium
+
+  * New upstream version
+  * Add citation
+  * Add autopkgtest
+
+ -- Andreas Tille <tille at debian.org>  Fri, 20 Jun 2014 15:25:06 +0200
+
 r-cran-vcd (1:1.2-13-2) unstable; urgency=low
 
   * Team upload.
diff --git a/control b/control
index 2d92e02..7e08946 100644
--- a/control
+++ b/control
@@ -3,12 +3,13 @@ Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
+Testsuite: autopkgtest
 Build-Depends: debhelper (>= 9),
                cdbs,
                r-base-dev (>= 3.0.0),
                r-cran-mass,
                r-cran-colorspace
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/R/r-cran-vcd/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/R/r-cran-vcd/trunk/
 Homepage: http://cran.r-project.org/web/packages/vcd
@@ -24,4 +25,3 @@ Description: GNU R Visualizing Categorical Data
  aimed particularly at categorical data. Special emphasis is given to
  highly extensible grid graphics. The package was inspired by the book
  "Visualizing Categorical Data" by Michael Friendly.
-
diff --git a/copyright b/copyright
index fbda46b..b4051bf 100644
--- a/copyright
+++ b/copyright
@@ -1,8 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Source: http://cran.r-project.org/src/contrib/vcd_1.2-12.tar.gz
+Upstream-Contact: David Meyer <David.Meyer at R-project.org>
+Source: http://cran.r-project.org/web/packages/vcd
 
 Files: *
-Copyright: (C) 2008 David Meyer, Achim Zeileis, Kurt Hornik
+Copyright: (C) 2008-2014 David Meyer, Achim Zeileis, Kurt Hornik
 License: GPL-2
 
 Files: inst/doc/Z.cls
@@ -10,9 +11,8 @@ Copyright: © 2004 Achim Zeileis
 License: GPL-2
 
 Files: debian/*
-Copyright: 2009 Andreas Tille <tille at debian.org>
-License: Same
- As vcd itself.
+Copyright: 2009-2014 Andreas Tille <tille at debian.org>
+License: GPL-2
 
 License: GPL-2
  This program is free software; you can redistribute it and/or modify
diff --git a/docs b/docs
index afade24..960011c 100644
--- a/docs
+++ b/docs
@@ -1,2 +1,3 @@
 tests
 debian/README.test
+debian/tests/run-unit-test
diff --git a/tests/control b/tests/control
new file mode 100644
index 0000000..25377fc
--- /dev/null
+++ b/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr
diff --git a/tests/run-unit-test b/tests/run-unit-test
new file mode 100644
index 0000000..24c1eaf
--- /dev/null
+++ b/tests/run-unit-test
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+pkg=r-cran-vcd
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+gunzip *.gz
+cp /usr/share/doc/${pkg}/tests/* $ADTTMP
+for runtest in `ls *.R` ; do
+    R --no-save < $runtest
+done
+rm -f $ADTTMP/*
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644
index 0000000..dcf4adf
--- /dev/null
+++ b/upstream/metadata
@@ -0,0 +1,10 @@
+Reference:
+  Author: David Meyer and Achim Zeileis and Kurt Hornik
+  Title: "The Strucplot Framework: Visualizing Multi-Way Contingency Tables with vcd"
+  Journal: Journal of Statistical Software
+  Year: 2006
+  Volume: 17
+  Number: 3
+  Pages: 1-48
+  URL: http://www.jstatsoft.org/v17/i03/
+  eprint: http://www.jstatsoft.org/v17/i03/paper

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-vcd.git



More information about the debian-science-commits mailing list