[med-svn] r22238 - in trunk/packages/R: . r-cran-fields r-cran-fields/trunk r-cran-fields/trunk/debian r-cran-fields/trunk/debian/source r-cran-fields/trunk/debian/tests

Andreas Tille tille at moszumanska.debian.org
Tue Jun 28 14:55:25 UTC 2016


Author: tille
Date: 2016-06-28 14:55:24 +0000 (Tue, 28 Jun 2016)
New Revision: 22238

Added:
   trunk/packages/R/r-cran-fields/
   trunk/packages/R/r-cran-fields/trunk/
   trunk/packages/R/r-cran-fields/trunk/debian/
   trunk/packages/R/r-cran-fields/trunk/debian/README.test
   trunk/packages/R/r-cran-fields/trunk/debian/changelog
   trunk/packages/R/r-cran-fields/trunk/debian/compat
   trunk/packages/R/r-cran-fields/trunk/debian/control
   trunk/packages/R/r-cran-fields/trunk/debian/copyright
   trunk/packages/R/r-cran-fields/trunk/debian/docs
   trunk/packages/R/r-cran-fields/trunk/debian/rules
   trunk/packages/R/r-cran-fields/trunk/debian/source/
   trunk/packages/R/r-cran-fields/trunk/debian/source/format
   trunk/packages/R/r-cran-fields/trunk/debian/tests/
   trunk/packages/R/r-cran-fields/trunk/debian/tests/control
   trunk/packages/R/r-cran-fields/trunk/debian/tests/run-unit-test
   trunk/packages/R/r-cran-fields/trunk/debian/watch
Log:
Inject r-cran-fields


Added: trunk/packages/R/r-cran-fields/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/README.test	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/README.test	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,8 @@
+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.

Added: trunk/packages/R/r-cran-fields/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/changelog	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,5 @@
+r-cran-fields (8.4-1-1) UNRELEASED; urgency=low
+
+  * Initial release (closes: #???)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 28 Jun 2016 16:10:42 +0200

Added: trunk/packages/R/r-cran-fields/trunk/debian/compat
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/compat	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1 @@
+9

Added: trunk/packages/R/r-cran-fields/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/control	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/control	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,36 @@
+Source: r-cran-fields
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: gnu-r
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               cdbs,
+               r-base-dev,
+               r-cran-spam,
+               r-cran-maps
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-fields/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-fields/trunk/
+Homepage: https://cran.r-project.org/web/packages/fields
+
+Package: r-cran-fields
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${R:Depends},
+         r-cran-spam,
+         r-cran-maps
+Description: GNU R tools for spatial data
+ For curve, surface and function fitting with an emphasis on splines,
+ spatial data and spatial statistics. The major methods include cubic,
+ and thin plate splines, Kriging and compact covariances for large data
+ sets. The splines and Kriging methods are supported by functions that
+ can determine the smoothing parameter (nugget and sill variance) and
+ other covariance parameters by cross validation and also by restricted
+ maximum likelihood. For Kriging there is an easy to use function that
+ also estimates the correlation scale (range). A major feature is that
+ any covariance function implemented in R and following a simple fields
+ format can be used for spatial prediction. There are also many useful
+ functions for plotting and working with spatial data as images. This
+ package also contains an implementation of sparse matrix methods for
+ large spatial data sets.

Added: trunk/packages/R/r-cran-fields/trunk/debian/copyright
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/copyright	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fields
+Upstream-Contact: Douglas Nychka <nychka at ucar.edu>
+Source: https://cran.r-project.org/web/packages/fields
+
+Files: *
+Copyright: 2009-2016 Douglas Nychka, Reinhard Furrer, John Paige, Stephan Sain
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2016 Andreas Tille <tille at debian.org>
+License: GPL-2+
+
+License: GPL-2+
+    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 2 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 program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL-2'.

Added: trunk/packages/R/r-cran-fields/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/docs	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,3 @@
+debian/README.test
+debian/tests/run-unit-test
+tests

Added: trunk/packages/R/r-cran-fields/trunk/debian/rules
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/rules	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+
+include /usr/share/R/debian/r-cran.mk


Property changes on: trunk/packages/R/r-cran-fields/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/R/r-cran-fields/trunk/debian/source/format
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/source/format	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/packages/R/r-cran-fields/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/tests/control	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr

Added: trunk/packages/R/r-cran-fields/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/tests/run-unit-test	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,38 @@
+#!/bin/sh -e
+
+pkg=r-cran-fields
+
+# The saved result files do contain some differences in metadata and we also
+# need to ignore version differences of R
+filter() {
+    grep -v -e '^R version' \
+        -e '^Copyright (C)' \
+        -e '^R : Copyright 20' \
+        -e '^Version 2.0' \
+        -e '^Platform:' \
+        -e '^Spam version .* is loaded.' \
+        $1 | \
+    sed -e '/^> *proc\.time()$/,$d'
+}
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/${pkg}/tests/* $ADTTMP
+gunzip *.gz
+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 --ignore-all-space ${htest}.Rout.save_ ${htest}.Rout_
+   if [ ! $? ] ; then
+     echo "Test ${htest} failed"
+     exit 1
+   else
+     echo "Test ${htest} passed"
+   fi
+done
+rm -f $ADTTMP/*
+
+exit 0

Added: trunk/packages/R/r-cran-fields/trunk/debian/watch
===================================================================
--- trunk/packages/R/r-cran-fields/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/R/r-cran-fields/trunk/debian/watch	2016-06-28 14:55:24 UTC (rev 22238)
@@ -0,0 +1,2 @@
+version=3
+http://cran.r-project.org/src/contrib/fields_([-\d.]*)\.tar\.gz




More information about the debian-med-commit mailing list