gnu: Add r-rsofia.

* gnu/packages/cran.scm (r-rsofia): New variable.
This commit is contained in:
Ricardo Wurmus 2017-11-07 17:27:22 +01:00
parent c49102ecca
commit 7b0569c0a9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 25 additions and 0 deletions

View File

@ -1422,3 +1422,28 @@ and density estimation")
"This package provides a violin plot, which is a combination of a box "This package provides a violin plot, which is a combination of a box
plot and a kernel density plot.") plot and a kernel density plot.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public r-rsofia
(package
(name "r-rsofia")
(version "1.1")
(source (origin
(method url-fetch)
;; This package has been removed from CRAN, so we can
;; only fetch it from the archives.
(uri (string-append "https://cran.r-project.org/src/"
"contrib/Archive/RSofia/RSofia_"
version ".tar.gz"))
(sha256
(base32
"0q931y9rcf6slb0s2lsxhgqrzy4yqwh8hb1124nxg0bjbxvjbihn"))))
(properties `((upstream-name . "RSofia")))
(build-system r-build-system)
(propagated-inputs
`(("r-rcpp" ,r-rcpp)))
(home-page "https://cran.r-project.org/src/contrib/Archive/RSofia")
(synopsis "Port of sofia-ml to R")
(description "This package is a port of sofia-ml to R. Sofia-ml is a
suite of fast incremental algorithms for machine learning that can be used for
training models for classification or ranking.")
(license license:asl2.0)))