diff options
author | Peter Lo <peterloleungyau@gmail.com> | 2020-06-29 13:50:30 +0800 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-09-11 18:29:48 +0200 |
commit | fb76feaf7eac49d954adc02ca458c52c966de8dd (patch) | |
tree | 64587b2a10ca9b3acc00c42a2c2ac61227f0edad /gnu/packages | |
parent | d1843fec10d449ee8acbb9dd163c94eb43614084 (diff) | |
download | guix-patches-fb76feaf7eac49d954adc02ca458c52c966de8dd.tar guix-patches-fb76feaf7eac49d954adc02ca458c52c966de8dd.tar.gz |
gnu: Add r-rsample.
* gnu/packages/cran.scm (r-rsample): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/cran.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 052b11d041..769d8e6d7a 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -23736,3 +23736,35 @@ workflow. The advantages are: to a data set such as confusion matrices, class probability curve summaries, and regression metrics (e.g., RMSE).") (license license:gpl2))) + +(define-public r-rsample + (package + (name "r-rsample") + (version "0.0.7") + (source + (origin + (method url-fetch) + (uri (cran-uri "rsample" version)) + (sha256 + (base32 + "0s6hgq0rcv3ianyidq3n9z34y5ww51gaggqkwmwns9yyxmwfjcm8")))) + (properties `((upstream-name . "rsample"))) + (build-system r-build-system) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-furrr" ,r-furrr) + ("r-generics" ,r-generics) + ("r-purrr" ,r-purrr) + ("r-rlang" ,r-rlang) + ("r-tibble" ,r-tibble) + ("r-tidyr" ,r-tidyr) + ("r-tidyselect" ,r-tidyselect) + ("r-vctrs" ,r-vctrs))) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "https://rsample.tidymodels.org") + (synopsis "General resampling infrastructure") + (description + "This package provides classes and functions to create and summarize +different types of resampling objects (e.g. bootstrap, cross-validation).") + (license license:gpl2))) |