Commit 0bf6939d authored by Andreas Tille's avatar Andreas Tille

Initial packaging by prepare_missing_cran_package

parent 93b0d13f
Explanation for binary files inside source package according to
https://lists.debian.org/debian-devel/2013/09/msg00332.html
Files: R/sysdata.rda
Documentation: dump of system data of R run.
Files: data/Kline.rda
Documented: man/loo-datasets.Rd
Datasets for loo examples and vignettes
Files: data/milk.rda
Documented: man/loo-datasets.Rd
Datasets for loo examples and vignettes
-- Andreas Tille <tille@debian.org> Mon, 14 May 2018 17:34:05 +0200
r-cran-loo (2.0.0-1) UNRELEASED; urgency=medium
* Initial release (closes: #xxxxxx)
-- Andreas Tille <tille@debian.org> Mon, 14 May 2018 17:34:03 +0200
Source: r-cran-loo
Maintainer: Debian R Packages Maintainers <r-pkg-team@alioth-lists.debian.net>
Uploaders: Andreas Tille <tille@debian.org>
Section: gnu-r
Testsuite: autopkgtest-pkg-r
Priority: optional
Build-Depends: debhelper (>= 11~),
dh-r,
r-base-dev,
r-cran-matrixstats (>= 0.52)
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/r-pkg-team/r-cran-loo
Vcs-Git: https://salsa.debian.org/r-pkg-team/r-cran-loo.git
Homepage: https://cran.r-project.org/package=loo
Package: r-cran-loo
Architecture: all
Depends: ${R:Depends},
${shlibs:Depends},
${misc:Depends}
Recommends: ${R:Recommends}
Suggests: ${R:Suggests}
Description: Efficient Leave-One-Out Cross-Validation and WAIC for Bayesian
Models
Efficient approximate leave-one-out cross-validation (LOO)
for Bayesian models fit using Markov chain Monte Carlo. The approximation
uses Pareto smoothed importance sampling (PSIS), a new procedure for
regularizing importance weights. As a byproduct of the calculations, we also
obtain approximate standard errors for estimated predictive errors and for
the comparison of predictive errors between models. The package also
provides methods for using stacking and other model weighting techniques
to average Bayesian predictive distributions.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: loo
Upstream-Contact: Jonah Gabry <jsg2201@columbia.edu>
Source: https://cran.r-project.org/package=loo
Files: *
Copyright: (FIXME: year)-2018 Aki Vehtari,
Andrew Gelman,
Jonah Gabry,
Yuling Yao,
Juho Piironen,
Ben Goodrich
License: GPL-3+
Files: debian/*
Copyright: 2018 Andreas Tille <tille@debian.org>
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.
.
On Debian systems you can find the full text of the GNU General Public
License version 3 at /usr/share/common-licenses/GPL-3.
debian/tests/run-unit-test
tests
#!/usr/bin/make -f
%:
dh $@ --buildsystem R
Tests: run-unit-test
Depends: @, r-cran-testthat,
Restrictions: allow-stderr
#!/bin/sh -e
pkgname=loo
debname=r-cran-loo
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX`
trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi
cd $AUTOPKGTEST_TMP
cp -a /usr/share/doc/$debname/tests/* $AUTOPKGTEST_TMP
gunzip -r *
for testfile in *.R; do
echo "BEGIN TEST $testfile"
LC_ALL=C R --no-save < $testfile
done
version=4
https://cran.r-project.org/src/contrib/loo_([-\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