[r-cran-maxlik] 03/09: Upload to new after adding citation and enhancing test

Sébastien Villemot sebastien at debian.org
Thu Nov 16 13:58:14 UTC 2017


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

sebastien pushed a commit to branch master
in repository r-cran-maxlik.

commit 2d8792f13f7134abf1b1c8dae1419f0b95d374fc
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jun 27 08:08:22 2014 +0000

    Upload to new after adding citation and enhancing test
---
 debian/changelog           |  6 ++----
 debian/control             |  6 ++++--
 debian/tests/run-unit-test |  7 +++++--
 debian/upstream/metadata   | 10 ++++++++++
 4 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1260c77..6fdd0e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,5 @@
-r-cran-maxlik (1.2-0-1) UNRELEASED; urgency=low
+r-cran-maxlik (1.2-0-1) unstable; urgency=low
 
-  * Initial release (Closes: #???).
-  TODO: Needs
-     svn://anonscm.debian.org/debian-science/packages/R/trunk/packages/r-cran-misctools/trunk/
+  * Initial release (Closes: #752788).
 
  -- Andreas Tille <tille at debian.org>  Mon, 23 Jun 2014 09:24:05 +0200
diff --git a/debian/control b/debian/control
index 96a2c66..86aa5d5 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,8 @@ Uploaders: Andreas Tille <tille at debian.org>
 Build-Depends: debhelper (>= 9.0),
                cdbs,
                r-base-dev,
-               r-cran-sandwich
+               r-cran-sandwich,
+               r-cran-misctools
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/R/trunk/packages/r-cran-maxlik/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/R/trunk/packages/r-cran-maxlik/trunk/
@@ -17,6 +18,7 @@ Package: r-cran-maxlik
 Architecture: all
 Depends: ${misc:Depends},
          ${R:Depends},
-         r-cran-sandwich
+         r-cran-sandwich,
+         r-cran-misctools
 Description: GNU R maximum likelihood estimation
  This GNU R package provides tools for maximum likelihood estimation.
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index f821e0d..e4c0468 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -16,7 +16,10 @@ filter() {
         -e '^[0-9]: Setting LC_' \
         -e "'help.start()' for an* HTML browser interface to help." \
        $1 | \
-    sed '/^> *proc\.time()$/,$d'
+    sed -e '/^> *proc\.time()$/,$d' \
+        -e 's#"Component 3:#"Component \\"gradient\\":#' \
+        -e 's#"Component 4:#"Component \\"hessian\\":#' \
+        -e 's#"Component 8:#"Component \\"fixed\\":#'
 }
 
 if [ "$ADTTMP" = "" ] ; then
@@ -29,7 +32,7 @@ for htest in `ls *.R | sed 's/\.R$//'` ; do
    LC_ALL=C R --no-save < ${htest}.R 2>&1 | tee > ${htest}.Rout
    filter ${htest}.Rout.save > ${htest}.Rout.save_
    filter ${htest}.Rout > ${htest}.Rout_
-   diff -u ${htest}.Rout.save_ ${htest}.Rout_
+   diff -u --ignore-all-space ${htest}.Rout.save_ ${htest}.Rout_
    if [ ! $? ] ; then
      echo "Test ${htest} failed"
      exit 1
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..f6105b4
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,10 @@
+Reference:
+  Author: Arne Henningsen and Ott Toomet
+  Title: "maxLik: A package for maximum likelihood estimation in R."
+  Journal: Computational Statistics
+  Year: 2011
+  Volume: 26
+  Number: 3
+  Pages: 443-458
+  DOI: 10.1007/s00180-010-0217-1
+  URL: http://link.springer.com/article/10.1007%2Fs00180-010-0217-1

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



More information about the debian-science-commits mailing list