summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-01-01 12:58:14 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-01-01 13:33:02 +0100
commita581caa00d2a902b2d8a3049f53cb2908761bb4e (patch)
tree4980e13516e6bf03b73f86fa1dafd4b8a46bb646 /gnu
parent1a1ba087584337e94a5d0228c84a7340cb51c805 (diff)
downloadguix-a581caa00d2a902b2d8a3049f53cb2908761bb4e.tar.gz
gnu: Add r-versions.
* gnu/packages/cran.scm (r-versions): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c4b37e6cf6..c4de940502 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19120,3 +19120,24 @@ can look for already created artifacts by using its class, name, date of the
 creation or other properties.  It also makes it easy to restore such
 artifacts.")
     (license license:gpl2)))
+
+(define-public r-versions
+  (package
+    (name "r-versions")
+    (version "0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "versions" version))
+       (sha256
+        (base32
+         "0zm49j785dgv7fyr1yl9q5f0dsk8hhpim5q5bpkgrkzv7pwjribd"))))
+    (properties `((upstream-name . "versions")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/versions/")
+    (synopsis "Query and install specific versions of CRAN packages")
+    (description
+     "This package allows you to install specified versions of R packages
+hosted on CRAN and provides functions to list available versions and the
+versions of currently installed packages.")
+    (license license:bsd-3)))