summaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorPeter Lo <peterloleungyau@gmail.com>2020-06-28 16:57:44 +0800
committerRicardo Wurmus <rekado@elephly.net>2020-09-11 11:24:46 +0200
commit1c87536287837c19b6a7d0b5df43fdcab7e5a26e (patch)
treed9534565a34b0546cf395dfc6bcf2ca35b84a01c /gnu/packages/cran.scm
parent6761090ca717583407c988ee2131f2c5e53b58af (diff)
gnu: Add r-config.
* gnu/packages/cran.scm (r-config): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 305f8e9756..de4273892d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23581,3 +23581,29 @@ assumptions.")
"This package provides helper functions with a consistent interface to
coerce and verify the types and shapes of values for input checking.")
(license license:asl2.0)))
+
+(define-public r-config
+ (package
+ (name "r-config")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "config" version))
+ (sha256
+ (base32
+ "0l67nfpm42ssnk0bl4jmq6bibz8hawgfgh2s14s5c8mnimv6mpjs"))))
+ (properties `((upstream-name . "config")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-yaml" ,r-yaml)))
+ (native-inputs
+ `(("r-knitr" ,r-knitr)))
+ (home-page "https://github.com/rstudio/config")
+ (synopsis "Manage environment specific configuration values")
+ (description
+ "This package lets you manage configuration values across multiple
+environments (e.g. development, test, production). It reads values using a
+function that determines the current environment and returns the appropriate
+value.")
+ (license license:gpl3)))