r46724 - in /packages/R/r-cran-spatstat/trunk/debian: README.test changelog control lintian-overrides tests/run-unit-test
tille at users.alioth.debian.org
tille at users.alioth.debian.org
Mon Jun 23 07:15:00 UTC 2014
Author: tille
Date: Mon Jun 23 07:14:59 2014
New Revision: 46724
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46724
Log:
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
Added:
packages/R/r-cran-spatstat/trunk/debian/lintian-overrides
Modified:
packages/R/r-cran-spatstat/trunk/debian/README.test
packages/R/r-cran-spatstat/trunk/debian/changelog
packages/R/r-cran-spatstat/trunk/debian/control
packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test
Modified: packages/R/r-cran-spatstat/trunk/debian/README.test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spatstat/trunk/debian/README.test?rev=46724&op=diff
==============================================================================
--- packages/R/r-cran-spatstat/trunk/debian/README.test (original)
+++ packages/R/r-cran-spatstat/trunk/debian/README.test Mon Jun 23 07:14:59 2014
@@ -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.
Modified: packages/R/r-cran-spatstat/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spatstat/trunk/debian/changelog?rev=46724&op=diff
==============================================================================
--- packages/R/r-cran-spatstat/trunk/debian/changelog (original)
+++ packages/R/r-cran-spatstat/trunk/debian/changelog Mon Jun 23 07:14:59 2014
@@ -3,6 +3,10 @@
* 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
Modified: packages/R/r-cran-spatstat/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spatstat/trunk/debian/control?rev=46724&op=diff
==============================================================================
--- packages/R/r-cran-spatstat/trunk/debian/control (original)
+++ packages/R/r-cran-spatstat/trunk/debian/control Mon Jun 23 07:14:59 2014
@@ -11,7 +11,7 @@
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 @@
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
Added: packages/R/r-cran-spatstat/trunk/debian/lintian-overrides
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spatstat/trunk/debian/lintian-overrides?rev=46724&op=file
==============================================================================
--- packages/R/r-cran-spatstat/trunk/debian/lintian-overrides (added)
+++ packages/R/r-cran-spatstat/trunk/debian/lintian-overrides Mon Jun 23 07:14:59 2014
@@ -0,0 +1,2 @@
+# This is a real name and no spelling error
+r-cran-spatstat: spelling-error-in-copyright Ang And
Modified: packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test?rev=46724&op=diff
==============================================================================
--- packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test (original)
+++ packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test Mon Jun 23 07:14:59 2014
@@ -6,7 +6,14 @@
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/*
More information about the debian-science-commits
mailing list