Subject: [bug#28089] [PATCH 21/29] gnu: Add r-sp.

From: Ricardo Wurmus <[email-masked]>
Date: Mon, 14 Aug 2017 22:57:03 +0200

* gnu/packages/cran.scm (r-sp): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 752649337..811dd9ba7 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -550,3 +550,27 @@ plot networks.")
 calculation of auto- and cross-proximities, along with implementations of the
 most popular ones.")
     (license license:gpl2)))
+
+(define-public r-sp
+  (package
+    (name "r-sp")
+    (version "1.2-4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "sp" version))
+       (sha256
+        (base32
+         "0crba3j00mb2xv2yk60rpa57gn97xq4ql3a6p9cjzqjxzv2cknk2"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-lattice" ,r-lattice)))
+    (home-page "http://cran.r-project.org/web/packages/sp")
+    (synopsis "Classes and methods for spatial data")
+    (description
+     "This package provides classes and methods for spatial data; the classes
+document where the spatial location information resides, for 2D or 3D data.
+Utility functions are provided, e.g. for plotting data as maps, spatial
+selection, as well as methods for retrieving coordinates, for subsetting,
+print, summary, etc.")
+    (license license:gpl2+)))
-- 
2.13.3