From 12392cff5063c01b8de870ceae99e6e8fbec546f Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Thu, 27 May 2021 13:30:48 +0200 Subject: [PATCH] gnu: Add r-princurve. * gnu/packages/cran.scm (r-princurve): New variable. --- gnu/packages/cran.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index e0b26e870f..894f2bc4d7 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3475,6 +3475,25 @@ (define-public r-prettyunits quantities.") (license license:expat))) +(define-public r-princurve + (package + (name "r-princurve") + (version "2.1.6") + (source (origin + (method url-fetch) + (uri (cran-uri "princurve" version)) + (sha256 + (base32 + "0wzk329bxljkzz57y220lsfckpsn45w348m6dcxh29zbj0ik65h2")))) + (build-system r-build-system) + (propagated-inputs + `(("r-rcpp" ,r-rcpp))) + (home-page "https://github.com/rcannood/princurve") + (synopsis "Fit a principal curve in arbitrary dimension") + (description "This package provides procedures for fitting a principal +curve to a data matrix in arbitrary dimensions.") + (license license:gpl2))) + (define-public r-reshape (package (name "r-reshape")