summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-08-14 22:05:53 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-08-17 17:26:10 +0200
commitbc0081e76f23c03f0cd71c9f4fd6b1423a0c6dc1 (patch)
tree06ade14e56e1a101f5263a6c45ec714c3f41c5cd /gnu/packages/cran.scm
parent3349faecf532dd88450a4e85db6d571c657d07d1 (diff)
downloadguix-bc0081e76f23c03f0cd71c9f4fd6b1423a0c6dc1.tar.gz
gnu: Add r-sp.
* gnu/packages/cran.scm (r-sp): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7526493376..811dd9ba79 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+)))