[r-cran-spatstat] 21/38: Since http://cran.r-project.org/web/packages/gsl/index.html is used in the test suite and LambertW is 100 times faster with gsl this should be packaged first

Andreas Tille tille at debian.org
Fri Oct 20 14:27:31 UTC 2017


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

tille pushed a commit to branch master
in repository r-cran-spatstat.

commit 05116a1e5b4fd67e4eceb4aaf4c8b086e95d22cc
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jun 23 07:14:59 2014 +0000

    Since
         http://cran.r-project.org/web/packages/gsl/index.html
      is used in the test suite and LambertW is 100 times faster with gsl
      this should be packaged first
---
 debian/README.test         | 14 +++-----------
 debian/changelog           |  4 ++++
 debian/control             |  4 ++--
 debian/lintian-overrides   |  2 ++
 debian/tests/run-unit-test |  9 ++++++++-
 5 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/debian/README.test b/debian/README.test
index d20decf..55a9142 100644
--- a/debian/README.test
+++ b/debian/README.test
@@ -1,16 +1,8 @@
 Notes on how this package can be tested.
 ────────────────────────────────────────
 
-This package can be tested by running the provided test:
+To run the unit tests provided by the package you can do
 
-DIR=`mktemp -d`
-cd $DIR
-cp -a /usr/share/doc/r-cran-spatstat/tests/* .
-LC_ALL=C R --no-save < alltests.R
-cd ..
-rm -rf $DIR
+   sh  run-unit-test
 
-
-in order to confirm its integrity.
-
- -- Andreas Tille <tille at debian.org>  Tue, 14 Jan 2014 16:30:53 +0100
+in this directory.
diff --git a/debian/changelog b/debian/changelog
index 096c19e..99682c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ r-cran-spatstat (1.37-0-1) UNRELEASED; urgency=medium
   * New upstream version
   * Enhance autopkgtest
   * versioned (Build-)Depends r-cran-polyclip (>= 1.3.0)
+  TODO: Since
+     http://cran.r-project.org/web/packages/gsl/index.html
+  is used in the test suite and LambertW is 100 times faster with gsl
+  this should be packaged first
 
  -- Andreas Tille <tille at debian.org>  Sun, 22 Jun 2014 22:58:36 +0200
 
diff --git a/debian/control b/debian/control
index e6fa495..735629c 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 9.0),
                r-cran-deldir,
                r-cran-abind,
                r-cran-tensor,
-               r-cran-polyclip (>= 1.3.0)
+               r-cran-polyclip (>= 1.3-0)
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/R/trunk/packages/r-cran-spatstat/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/R/trunk/packages/r-cran-spatstat/trunk/
@@ -26,7 +26,7 @@ Depends: ${misc:Depends},
          r-cran-deldir,
          r-cran-abind,
          r-cran-tensor,
-         r-cran-polyclip (>= 1.3.0)
+         r-cran-polyclip (>= 1.3-0)
 Description: GNU R Spatial Point Pattern analysis, model-fitting, simulation, tests
  A GNU R package for analysing spatial data, mainly Spatial Point Patterns,
  including multitype/marked points and spatial covariates, in any
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..7a9a517
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,2 @@
+#  This is a real name and no spelling error
+r-cran-spatstat: spelling-error-in-copyright Ang And
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index ea56cb6..667a84b 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -6,7 +6,14 @@ if [ "$ADTTMP" = "" ] ; then
 fi
 cd $ADTTMP
 cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+gunzip -r *.gz
 for runtest in `ls *.R` ; do
-    LC_ALL=C R --no-save < $runtest
+   LC_ALL=C R --no-save < $runtest >/dev/null
+   if [ ! $? ] ; then
+     echo "Test ${htest} failed"
+     exit 1
+   else
+     echo "Test ${htest} passed"
+   fi
 done
 rm -rf $ADTTMP/*

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



More information about the debian-science-commits mailing list