>From 30c0938b1d1239fc1a1c894d6706c4f322395a9e Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Tue, 29 Mar 2016 14:00:57 +0200 Subject: [PATCH] gnu: r-devtools: Update to 1.10.0. * gnu/packages/statistics.scm (r-devtools): Update to 1.10.0. * gnu/packages/statistics.scm (r-withr): New variable. --- gnu/packages/statistics.scm | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 15c6823..aea3faa 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1234,13 +1234,13 @@ informative error messages when it's not available.") (define-public r-devtools (package (name "r-devtools") - (version "1.9.1") + (version "1.10.0") (source (origin (method url-fetch) (uri (cran-uri "devtools" version)) (sha256 (base32 - "10ycx3kkiz5x8nmgw31d9wa5hhlx2fhda2nqzxfrczqpz1jik6ci")))) + "11x51bqhjwypbxv5sfnrnxx06b92k8kzmmx7zrwk3537r072b6pa")))) (build-system r-build-system) (propagated-inputs `(("r-curl" ,r-curl) @@ -1253,13 +1253,34 @@ informative error messages when it's not available.") ("r-roxygen2" ,r-roxygen2) ("r-rstudioapi" ,r-rstudioapi) ("r-rversions" ,r-rversions) - ("r-whisker" ,r-whisker))) + ("r-whisker" ,r-whisker) + ("r-withr" ,r-withr))) (home-page "https://github.com/hadley/devtools") (synopsis "Tools to make developing R packages easier") (description "The devtools package is a collection of package development tools to simplify the devolpment of R packages.") (license license:gpl2+))) +(define-public r-withr + (package + (name "r-withr") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (cran-uri "withr" version)) + (sha256 + (base32 + "0zbj3rd7dc0ycknmay7y7rm1qvnh9n05jw93gjggz46j2zfmy93y")))) + (build-system r-build-system) + (home-page "https://github.com/jimhester/withr") + (synopsis "Run code with temporarily modified global state") + (description + "A set of functions to run code 'with' safely and temporarily modified +global state. Many of these functions were originally a part of the 'devtools' +package, this provides a simple package with limited dependencies to provide +access to these functions.") + (license license:gpl2+))) + (define-public r-readr (package (name "r-readr") -- 2.5.5