Commit d2d8a873 authored by Jonathon Love's avatar Jonathon Love

Added debian/ directory

parent f04ec37e
Explanation for binary files inside source package according to
http://lists.debian.org/debian-devel/2013/09/msg00332.html
This package contains the following data sets
Files: data/puzzles.rda
Documentation: man/puzzles.Rd
Example data set:
Puzzle completion times from Hays (1994)
Hays (1994; section 13.21, table 13.21.2, p. 570) describes an experiment
wherein 12 participants complete four puzzles each. Puzzles could be either
square or round, and either monochromatic or in color. Each participant
completed every combination of the two factors.
Files: data/raceDolls.rda
Documentation: man/raceDolls.Rd
Example data set:
Hraba and Grant (1970) describe a replication of Clark and Clark (1947) in
which black and white children from Lincoln, Nebraska were shown dolls that
were either black or white. They were then asked a series of questions,
including "Give me the doll that is a nice doll." This data set contains the
frequency of children giving the same-race or different race doll in response
to this question.
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
in this directory.
r-cran-bayesfactor (0.9.12-2-1) unstable; urgency=low
* Initial release. (Closes: #797820)
-- Jonathon Love <jon@thon.cc> Mon, 14 Sep 2015 20:34:32 +0200
Source: r-cran-bayesfactor
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Uploaders: Jonathon Love <jon@thon.cc>
Section: gnu-r
Priority: optional
Build-Depends: debhelper (>= 9),
cdbs,
r-base-dev,
r-cran-coda,
r-cran-matrix,
r-cran-pbapply,
r-cran-mvtnorm,
r-cran-stringr,
r-cran-gtools,
r-cran-matrixmodels,
r-cran-rcpp,
r-cran-rcppeigen
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
Homepage: http://bayesfactorpcl.r-forge.r-project.org/
Package: r-cran-bayesfactor
Architecture: any
Depends: ${R:Depends},
${shlibs:Depends},
${misc:Depends},
r-base,
r-cran-coda,
r-cran-matrix,
r-cran-pbapply,
r-cran-mvtnorm,
r-cran-stringr,
r-cran-gtools,
r-cran-matrixmodels,
r-cran-rcpp,
r-cran-rcppeigen,
libjs-mathjax
Description: GNU R package providing Bayes factors for t-tests, ANOVAs and contingency tables
r-cran-bayesfactor is a GNU R package providing a suite of functions for
computing various Bayes factors for simple designs, including
contingency tables, one- and two-sample designs, one- way designs,
general ANOVA designs, and linear regression.
This diff is collapsed.
debian/README.test
debian/tests/run-unit-test
tests
use-local-mathjax
From: Jonathon Love <jon@thon.cc>
Description: MathJax <script>'s are now loaded locally, not from remote
Fixes privacy-breach-uses-embedded-file lintian error
Author: Jonathon Love <jon@thon.cc>
Index: r-cran-bayesfactor/inst/doc/compare_lme4.html
===================================================================
--- r-cran-bayesfactor.orig/inst/doc/compare_lme4.html
+++ r-cran-bayesfactor/inst/doc/compare_lme4.html
@@ -58,7 +58,7 @@ hljs.initHighlightingOnLoad();
</script>
<!-- MathJax scripts -->
-<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+<script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js">
</script>
Index: r-cran-bayesfactor/inst/doc/manual.html
===================================================================
--- r-cran-bayesfactor.orig/inst/doc/manual.html
+++ r-cran-bayesfactor/inst/doc/manual.html
@@ -58,7 +58,7 @@ hljs.initHighlightingOnLoad();
</script>
<!-- MathJax scripts -->
-<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+<script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js">
</script>
Index: r-cran-bayesfactor/inst/doc/odds_probs.html
===================================================================
--- r-cran-bayesfactor.orig/inst/doc/odds_probs.html
+++ r-cran-bayesfactor/inst/doc/odds_probs.html
@@ -58,7 +58,7 @@ hljs.initHighlightingOnLoad();
</script>
<!-- MathJax scripts -->
-<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+<script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js">
</script>
Index: r-cran-bayesfactor/inst/doc/priors.html
===================================================================
--- r-cran-bayesfactor.orig/inst/doc/priors.html
+++ r-cran-bayesfactor/inst/doc/priors.html
@@ -58,7 +58,7 @@ hljs.initHighlightingOnLoad();
</script>
<!-- MathJax scripts -->
-<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+<script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js">
</script>
#!/usr/bin/make -f
include /usr/share/R/debian/r-cran.mk
Tests: run-unit-test
Depends: @
Restrictions: allow-stderr
#!/bin/sh -e
pkg=r-cran-bayesfactor
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP
cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
for runtest in `ls *.R` ; do
LC_ALL=C R --no-save < $runtest >/dev/null
if [ ! $? ] ; then
echo "Test ${runtest} failed"
exit 1
else
echo "Test ${runtest} passed"
fi
done
rm -rf $ADTTMP/*
version=3
http://cran.r-project.org/src/contrib/BayesFactor_([\d\.-]*).tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment