From 5e0aa623088abf460a0dcc557de6fec61f8531da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=83d=C4=83lin=20Ionel=20Patra=C8=99cu?= Date: Wed, 9 Nov 2022 04:13:30 +0100 Subject: [PATCH] gnu: Add r-glmnetutils. * gnu/packages/cran.scm (r-glmnetutils): New variable. --- gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 4b5b4f1cd4..a1702ae5f6 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -4153,6 +4153,33 @@ (define-public r-glue Docstrings (PEP-0257) and Julia's Triple-Quoted String Literals.") (license license:expat))) +(define-public r-glmnetutils + (package + (name "r-glmnetutils") + (version "1.1.8") + (source (origin + (method url-fetch) + (uri (cran-uri "glmnetUtils" version)) + (sha256 + (base32 + "1k8ivzjgpkm2a948qxx3wmkhlppbk31qc76spv2pscmp24x0lxyn")))) + (properties `((upstream-name . "glmnetUtils"))) + (build-system r-build-system) + (propagated-inputs + (list r-glmnet + r-matrix)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/hongooi73/glmnetUtils") + (synopsis + "Streamline the process of fitting elastic net models with glmnet") + (description + "This package provides a collection of tools to streamline the +process of fitting elastic net models with @code{glmnet}. In addition +to providing a formula interface, it also features a function +@code{cva.glmnet} to do crossvalidation for both α and λ, as well as +some utility functions.") + (license license:gpl2))) + (define-public r-paletteer (package (name "r-paletteer")