From a8df74bb8cfc34b5ea0f62b56f8fa9ede46c622c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 11 Nov 2015 14:07:47 +0100 Subject: [PATCH 2/3] gnu: Add r-rstudioapi. * gnu/packages/statistics.scm (r-rstudioapi): New variable. --- gnu/packages/statistics.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 870e41a..fd0434d 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1217,3 +1217,21 @@ functions make it easy to control additional request components.") pure C implementation of the Git core methods.") ;; GPLv2 only with linking exception. (license license:gpl2))) + +(define-public r-rstudioapi + (package + (name "r-rstudioapi") + (version "0.3.1") + (source (origin + (method url-fetch) + (uri (cran-uri "rstudioapi" version)) + (sha256 + (base32 + "0q7671d924nzqsqhs8d9p7l907bcam56wjwm7vvz44xgj0saj8bs")))) + (build-system r-build-system) + (home-page "http://cran.r-project.org/web/packages/rstudioapi") + (synopsis "Safely access the RStudio API") + (description + "This package provides functions to access the RStudio API and provide +informative error messages when it's not available.") + (license license:expat))) -- 2.1.0