gnu: Add r-earth.

* gnu/packages/cran.scm (r-earth): New variable.

Change-Id: If6ae39912cade13d0d81c1e5178eb20c5017ccb3
This commit is contained in:
Ricardo Wurmus 2024-11-27 10:31:24 +01:00
parent eeacb3d98a
commit faec0f7595
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1251,6 +1251,29 @@ (define-public r-earlywarnings
series. These are used for identifying nearby critical transitions.")
(license license:bsd-2)))
(define-public r-earth
(package
(name "r-earth")
(version "5.3.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "earth" version))
(sha256
(base32 "1g6ywsmdp7qlp0rql6f07j9hih45w9jm7b90sgkjpylqan94zy9s"))))
(properties `((upstream-name . "earth")))
(build-system r-build-system)
(propagated-inputs (list r-formula r-plotmo))
(native-inputs (list gfortran))
(home-page "http://www.milbo.users.sonic.net/earth/")
(synopsis "Multivariate adaptive regression splines")
(description
"This package lets you build regression models using the techniques in
Friedman's papers \"Fast MARS\" and \"Multivariate Adaptive Regression
Splines\" <doi:10.1214/aos/1176347963>. The term \"MARS\" is trademarked and
thus not used in the name of the package.")
(license license:gpl3)))
(define-public r-embedsom
(package
(name "r-embedsom")