[r-cran-bayesfactor] 01/01: Added debian/ directory
Jonathon Love
jon at thon.cc
Tue Sep 15 08:00:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
jonathon-guest pushed a commit to branch master
in repository r-cran-bayesfactor.
commit 1a6585a50e4485fcf0506fd9002c576612ce2636
Author: Jonathon Love <jon at thon.cc>
Date: Tue Sep 15 10:00:10 2015 +0200
Added debian/ directory
---
debian/README.test | 2 ++
debian/control | 6 ++++--
debian/tests/run-unit-test | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/debian/README.test b/debian/README.test
index ab9ca74..4718064 100644
--- a/debian/README.test
+++ b/debian/README.test
@@ -1,6 +1,8 @@
Notes on how this package can be tested.
────────────────────────────────────────
+These tests require that the r-cran-testthat package is installed
+
To run the unit tests provided by the package you can do
sh run-unit-test
diff --git a/debian/control b/debian/control
index ace6d33..f379278 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,8 @@ Build-Depends: debhelper (>= 9),
r-cran-gtools,
r-cran-matrixmodels,
r-cran-rcpp,
- r-cran-rcppeigen
+ r-cran-rcppeigen,
+ r-cran-testthat
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/r-cran-bayesfactor.git
Vcs-Git: git://anonscm.debian.org/debian-science/packages/r-cran-bayesfactor.git
@@ -34,7 +35,8 @@ Depends: ${R:Depends},
r-cran-gtools,
r-cran-matrixmodels,
r-cran-rcpp,
- r-cran-rcppeigen
+ r-cran-rcppeigen,
+ libjs-mathjax
Description: GNU R package for computing Bayes factors for t-tests, ANOVAs and contingency tables
A suite of functions for computing various Bayes factors for simple
designs, including contingency tables, one- and two-sample designs, one-
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index b2186e1..6ce3955 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -7,7 +7,7 @@ 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 >/dev/null
if [ ! $? ] ; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-bayesfactor.git
More information about the debian-science-commits
mailing list