From 57add3d0fc5bbd6f73e9b7a137882daf2aed3bc2 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Wed, 9 Sep 2020 16:41:50 +0200 Subject: [PATCH] gnu: Add r-partykit. * gnu/packages/cran.scm (r-partykit): New variable. --- gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 2c202e8508..a3f3809fe0 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1933,6 +1933,32 @@ (define-public r-pastecs initiative to bring PASSTEC 2000 functionalities to R.") (license license:gpl2+))) +(define-public r-partykit + (package + (name "r-partykit") + (version "1.2-9") + (source (origin + (method url-fetch) + (uri (cran-uri "partykit" version)) + (sha256 + (base32 + "18nc6vvj1cy8ly2hqixg544sbg8vbpzwsr1cdlzrqfykd0pzgkvf")))) + (build-system r-build-system) + (propagated-inputs + `(("r-formula" ,r-formula) + ("r-inum" ,r-inum) + ("r-libcoin" ,r-libcoin) + ("r-mvtnorm" ,r-mvtnorm) + ("r-rpart" ,r-rpart) + ("r-survival" ,r-survival))) + (home-page "http://partykit.R-Forge.R-project.org/partykit") + (synopsis "Toolkit for recursive partytioning") + (description + "This package provides a toolkit with infrastructure for representing, +summarizing, and visualizing tree-structured regression and classification +models.") + (license license:gpl2+))) + (define-public r-plogr (package (name "r-plogr")