[r-cran-afex] 01/01: Added debian/ directory

Jonathon Love jon at thon.cc
Thu Sep 17 20:03:49 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-afex.

commit e711e991de91e1a1619521166cc6fd1c2875dbed
Author: Jonathon Love <jon at thon.cc>
Date:   Thu Sep 17 22:02:11 2015 +0200

    Added debian/ directory
---
 debian/README.source       | 106 +++++++++++++++++++++++++++++++++++++++++++++
 debian/README.test         |   9 ++++
 debian/changelog           |   6 +++
 debian/compat              |   1 +
 debian/control             |  46 ++++++++++++++++++++
 debian/copyright           |  34 +++++++++++++++
 debian/docs                |   3 ++
 debian/rules               |   4 ++
 debian/source/format       |   1 +
 debian/tests/control       |   3 ++
 debian/tests/run-unit-test |  20 +++++++++
 debian/watch               |   3 ++
 12 files changed, 236 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..532ce3a
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,106 @@
+Explanation for binary files inside source package according to
+  http://lists.debian.org/debian-devel/2013/09/msg00332.html
+
+This package contains a number of example data sets
+
+Files: data/ks2013.3.rda
+Documentation: man/ks2013.3.Rd
+  Example data set:
+  Data from Klauer & Singmann (2013, Experiment 3)
+  Klauer and Singmann (2013) attempted to replicate a hypothesis of Morsanyi
+  and Handley (2012) according to which individuals have an intuitive sense of
+  logicality. Specifically, Morsanyi and Handley apparently provided evidence
+  that the logical status of syllogisms (i.e., valid or invalid) affects
+  participants liking ratings of the conclusion of syllogisms. Conclusions
+  from valid syllogisms (e.g., Some snakes are poisonous. No poisonous animals
+  are obbs. Some snakes are not obbs.) received higher liking ratings than
+  conclusions from invalid syllogisms (e.g.,  No ice creams are vons. Some
+  vons are hot. Some ice creams are not hot.). It is important to noted that
+  in the experiments participants were simply shown the premises and
+  conclusion in succession, they were not asked whether or not the conclusion
+  follows or to generate their own conclusion. Their task was simply to judge
+  how much they liked the "final" statement (i.e., the conclusion).
+
+Files: data/md_12.1.rda
+Documentation: man/md_12.1.Rd
+  Example data set:
+  Data 12.1 from Maxwell & Delaney
+  Hypothetical Reaction Time Data for 2 x 3 Perceptual Experiment: Example
+  data for chapter 12 of Maaxwell and Delaney (2004, Table 12.1, p. 574) in
+  long format. Has two within.subjects factors: angle and noise.
+
+Files: data/md_15.1.rda
+Documentation: man/md_15.1.Rd
+  Example data set:
+  Data 15.1 / 11.5 from Maxwell & Delaney
+  Hypothetical IQ Data from 12 children at 4 time points: Example data for
+  chapter 11/15 of Maxwell and Delaney (2004, Table 15.1, p. 766) in long
+  format. Has two one within-subjects factor: time.
+
+Files: data/md_16.1.rda
+Documentation: man/md_16.1.Rd
+  Example data set:
+  This is the Oats dataset provided in the nlme package, but it is rearranged
+  as one multivariate observation per plot.
+
+Files: data/md_16.4.rda
+Documentation: man/md_16.4.Rd
+  Example data set:
+  Data 16.1 / 10.9 from Maxwell & Delaney
+  Hypothetical Reaction Time Data for 2 x 3 Perceptual Experiment: Example
+  data for chapter 12 of Maaxwell and Delaney (2004, Table 12.1, p. 574) in
+  long format. Has two within.subjects factors: angle and noise.
+
+Files: data/obk.long.rda
+Documentation: man/obk.long.Rd
+  Example data set:
+  O'Brien Kaiser's Repeated-Measures Dataset with Covariate
+  This is the long version of the OBrienKaiser dataset from the car package
+  adding a random covariate age. Originally the dataset ist taken from O'Brien
+  and Kaiser (1985).
+
+Files: data/sk2011.1.rda
+Documentation: man/sk2011.1.Rd
+  Example data set:
+  Data from Singmann & Klauer (2011, Experiment 1)
+  Singmann and Klauer (2011) were interested in whether or not conditional
+  reasoning can be explained by a single process or whether multiple processes
+  are necessary to explain it. To provide evidence for multiple processes we
+  aimed to establish a double dissociation of two variables: instruction type
+  and problem type. Instruction type was manipulated between-subjects, one
+  group of participants received  deductive instructions (i.e., to treat the
+  premises as given and only draw necessary conclusions) and a second group of
+  participants received probabilistic instructions (i.e., to reason as in an
+  everyday situation; we called this "inductive instruction" in the
+  manuscript). Problem type consisted of two different orthogonally crossed
+  variables that were manipulated within-subjects, validity of the problem
+  (formally valid or formally invalid) and plausibility of the problem
+  (inferences which were consisted with the background knowledge versus
+  problems that were inconsistent with the background knowledge). The critical
+  comparison across the two conditions was among problems which were valid and
+  implausible with problems that were invalid and plausible.
+
+Files: data/sk2011.2.rda
+Documentation: man/sk2011.2.Rd
+  Example data set:
+  Data from Singmann & Klauer (2011, Experiment 2)
+  Singmann and Klauer (2011) were interested in whether or not conditional
+  reasoning can be explained by a single process or whether multiple processes
+  are necessary to explain it. To provide evidence for multiple processes we
+  aimed to establish a double dissociation of two variables: instruction type
+  and problem type. Instruction type was manipulated between-subjects, one
+  group of participants received  deductive instructions (i.e., to treat the
+  premises as given and only draw necessary conclusions) and a second group of
+  participants received probabilistic instructions (i.e., to reason as in an
+  everyday situation; we called this "inductive instruction" in the
+  manuscript). Problem type consisted of two different orthogonally crossed
+  variables that were manipulated within-subjects, validity of the problem
+  (formally valid or formally invalid) and type of the problem. Problem type
+  consistent of three levels: prological problems (i.e., problems in which
+  background knowledge suggested to accept valid but reject invalid
+  conclusions), neutral problems (i.e., in which background knowledge
+  suggested to reject all problems), and counterlogical problems (i.e.,
+  problems in which background knowledge suggested to reject valid but accept
+  invalid conclusions).
+
+
diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..ab9ca74
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,9 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+To run the unit tests provided by the package you can do
+
+   sh run-unit-test
+
+in this directory.
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..906bb56
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+r-cran-afex (0.14-2-1) unstable; urgency=low
+
+  * Initial release. (Closes: #797819)
+
+ -- Jonathon Love <jon at thon.cc>  Sun, 30 Aug 2015 23:15:02 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f8efed7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: r-cran-afex
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Jonathon Love <jon at thon.cc>
+Section: gnu-r
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               cdbs,
+               r-base-dev,
+               r-cran-lme4 (>= 1.0.5),
+               r-cran-reshape2,
+               r-cran-lsmeans (>= 2.17),
+               r-cran-stringr,
+               r-cran-coin,
+               r-cran-matrix,
+               r-cran-pbkrtest,
+               r-cran-car
+Standards-Version: 3.9.6
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/r-cran-afex.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/r-cran-afex.git
+Homepage: https://github.com/singmann/afex
+
+Package: r-cran-afex
+Architecture: any
+Depends: ${R:Depends},
+         ${misc:Depends},
+         r-base,
+         r-cran-lme4 (>= 1.0.5),
+         r-cran-reshape2,
+         r-cran-lsmeans (>= 2.17),
+         r-cran-stringr,
+         r-cran-coin,
+         r-cran-matrix,
+         r-cran-pbkrtest,
+         r-cran-car
+Description: GNU R package for analyzing factorial experiments using ANOVA or mixed models
+ The r-cran-afex package is a GNU R package providing convenience
+ functions for analyzing factorial experiments using ANOVA or mixed
+ models. aov_ez(), aov_car(), and aov_4() allow specification of between,
+ within (i.e., repeated- measures), or mixed between-within (i.e., split-
+ plot) ANOVAs for data in long format (i.e., one observation per row),
+ potentially aggregating multiple observations per individual and cell of
+ the design. mixed() fits mixed models using lme4::lmer() and computes
+ p-values for all fixed effects using either Kenward-Roger approximation
+ for degrees of freedom (LMM only), parametric bootstrap (LMMs and
+ GLMMs), or likelihood ratio tests (LMMs and GLMMs). afex uses type 3
+ sums of squares as default (imitating commercial statistical software).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..76f91ba
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: afex
+Upstream-Contact: Henrik Singmann <singmann+afex at gmail.com>
+Source: http://cran.r-project.org/web/packages/afex
+
+Files: *
+Copyright: 2008-2015 Henrik Singmann, Ben Bolker, Jake Westfall, Søren Højsgaard, John Fox, Michael A. Lawrence, Ulf Mertens
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2015 Jonathon Love <jon at thon.cc>
+License: GPL-3+
+
+License: GPL-3+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..3adf0d6
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+debian/README.test
+debian/tests/run-unit-test
+tests
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..935f37f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+include /usr/share/R/debian/r-cran.mk
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b044b0c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..a90f0b3
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+pkg=r-cran-afex
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+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
+     echo "Test ${runtest} failed"
+     exit 1
+   else
+     echo "Test ${runtest} passed"
+   fi
+done
+rm -rf $ADTTMP/*
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d83ca6c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://cran.r-project.org/src/contrib/afex_([\d\.-]*).tar.gz
+

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



More information about the debian-science-commits mailing list