[r-cran-teachingdemos] 02/03: Add debian/REAMDE.source to document binary data

Andreas Tille tille at debian.org
Fri Sep 29 14:46:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-teachingdemos.

commit c8c7b3d2bcad7a7ed70456bcd5e1d578ce0e55b1
Author: Andreas Tille <tille at debian.org>
Date:   Fri Sep 29 16:43:25 2017 +0200

    Add debian/REAMDE.source to document binary data
---
 debian/README.source | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/changelog     |  1 +
 debian/copyright     |  1 +
 debian/watch         |  4 +++-
 4 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..44762d6
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,43 @@
+Explanation for binary files inside source package according to
+  http://lists.debian.org/debian-devel/2013/09/msg00332.html
+
+Files: data/coin.faces.rda
+Documented: man/coin.faces.Rd
+  Designs for coin faces for use with plot.rgl.coin
+
+Files: data/evap.rda
+Documented: man/evap.Rd
+  Data on soil evaporation.
+
+Files: data/gps.rda
+Documented: undocumented
+  This file should probably be removed from source since it is
+  neither documented nor used.
+
+Files: data/ldsgrowth.rda
+Documented: man/ldsgrowth.Rd
+  Growth of The Church of Jesus Christ of Latter-day Saints
+
+Files: data/outliers.rds
+Documented: man/outliers.Rd
+  This dataset is approximately bell shaped, but with some outliers.  It
+  is meant to be used for demonstration purposes.  If students are tempted
+  to throw out all outliers, then have them work with this data (or use a
+  scaled/centered/shuffled version as errors in a regression problem) and
+  see how many throw away 3/4 of the data before rethinking their strategy.
+
+Files: data/steps.rds
+Documented: man/steps.Rd
+  This is the export from a pedometer worn for nearly about 11 months by
+  the package author.
+
+Files: data/stork.rds
+Documented: man/stork.Rd
+  Data invented by Neyman to look at spurious correlations and adjusting
+  for lurking variables by looking at the relationship between storks and biths.
+
+Files: data/USCrimes.rds
+Documented: man/USCrimes.Rd
+  US Crime Statistics
+
+ -- Andreas Tille <tille at debian.org>  Fri, 29 Sep 2017 16:27:30 +0200
diff --git a/debian/changelog b/debian/changelog
index c400c35..2f088a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ r-cran-teachingdemos (2.10-2) UNRELEASED; urgency=medium
 
   * Move packaging from SVN to Git
   * Standards-Version: 4.1.0
+  * Add debian/REAMDE.source to document binary data
 
  -- Andreas Tille <tille at debian.org>  Fri, 29 Sep 2017 16:27:30 +0200
 
diff --git a/debian/copyright b/debian/copyright
index ac894c2..eebf2cc 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: TeachingDemos
 Upstream-Contact: Greg Snow <greg.snow at imail.org>
 Source: https://cran.r-project.org/package=TeachingDemos
+Files-Excluded: gps.rda
 
 Files: *
 Copyright: 2009-2016 Greg Snow <greg.snow at imail.org>
diff --git a/debian/watch b/debian/watch
index 020c334..25b1c5b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,4 @@
 version=4
-http://cran.r-project.org/src/contrib/TeachingDemos_([-\d.]+)\.tar\.gz
+
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
+   http://cran.r-project.org/src/contrib/TeachingDemos_([-\d.]+)\.tar\.gz

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



More information about the debian-science-commits mailing list