[r-cran-aer] 02/02: Fertility is handled in a block
Andreas Tille
tille at debian.org
Sun Nov 12 16:32:55 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-aer.
commit 7c00a4461d1f2e3f929e7411b97ff083a2ef2e3c
Author: Andreas Tille <tille at debian.org>
Date: Sun Nov 12 17:32:39 2017 +0100
Fertility is handled in a block
---
debian/README.source | 7 +------
debian/create_README.source | 16 +++++++++-------
2 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index 15f398a..161d2ae 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -117,11 +117,6 @@ Documented: man/Fatalities.Rd
US traffic fatalities panel data for the \dQuote{lower 48} US states
(i.e., excluding Alaska and Hawaii), annually for 1982 through 1988.
-Files: data/Fertility.rda
-Documented: man/Fertility.Rd
- Cross-section data from the 1980 US Census on married women
- aged 21--35 with two or more children.
-
Files: data/FrozenJuice.rda
Documented: man/FrozenJuice.Rd
Monthly data on the price of frozen orange juice concentrate and temperature
@@ -468,4 +463,4 @@ Documented: man/Fertilit*.Rd
Online complements to Stock, J.H. and Watson, M.W. (2007):
"Introduction to Econometrics", 2nd ed. Boston: Addison Wesley.
- -- Andreas Tille <tille at debian.org> Sun, 12 Nov 2017 17:29:02 +0100
+ -- Andreas Tille <tille at debian.org> Sun, 12 Nov 2017 17:32:29 +0100
diff --git a/debian/create_README.source b/debian/create_README.source
index ce035bd..8c98424 100755
--- a/debian/create_README.source
+++ b/debian/create_README.source
@@ -7,16 +7,18 @@ EOT
for rda in ../data/*.rda ; do
if [ ! -e ../man/$(basename $rda .rda).Rd ] ; then
- if ! basename $rda | grep -q "^CPSSW" ; then
+ if ! basename $rda | grep -q -e "^CPSSW" -e "^Fertility" ; then
>&2 echo "Verify documentation for $rda manually"
fi
else
- echo "Files: data/$(basename $rda)"
- echo "Documented: man/$(basename $rda .rda).Rd"
- sed -e '0,/^\\title{/d' -e '/^}/,$d' -e 's/^\\description{//' -e 's/^\([^ ]\)/ \1/' ../man/$(basename $rda .rda).Rd | \
- perl -p -e 's/\cM//g' | grep -v '^ *$' | sed -e '/^ \+\\/d' -e 's/} *$/\n#####/' | \
- sed -e '/^#####/ { N; N; N; N; d; }' | sed -e '/^#####/ { N; N; N; d; }' | sed -e '/^#####/ { N; N; d; }' | sed -e '/^#####/ { N; d; }'
- echo ""
+ if ! basename $rda | grep -q "^Fertility" ; then # Fertility is done manually below
+ echo "Files: data/$(basename $rda)"
+ echo "Documented: man/$(basename $rda .rda).Rd"
+ sed -e '0,/^\\title{/d' -e '/^}/,$d' -e 's/^\\description{//' -e 's/^\([^ ]\)/ \1/' ../man/$(basename $rda .rda).Rd | \
+ perl -p -e 's/\cM//g' | grep -v '^ *$' | sed -e '/^ \+\\/d' -e 's/} *$/\n#####/' | \
+ sed -e '/^#####/ { N; N; N; N; d; }' | sed -e '/^#####/ { N; N; N; d; }' | sed -e '/^#####/ { N; N; d; }' | sed -e '/^#####/ { N; d; }'
+ echo ""
+ fi
fi
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-aer.git
More information about the debian-science-commits
mailing list