From a581caa00d2a902b2d8a3049f53cb2908761bb4e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 1 Jan 2020 12:58:14 +0100 Subject: [PATCH] gnu: Add r-versions. * gnu/packages/cran.scm (r-versions): New variable. --- gnu/packages/cran.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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)))