summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-11-07 17:27:22 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-11-07 23:32:46 +0100
commit7b0569c0a998f1bc4a551a815dd5ea7f669de305 (patch)
tree911ccf00363a53105d85b5c5dc0c698db07b0203 /gnu/packages
parentc49102ecca08d4ad38c19f519195aa9d0cece0f1 (diff)
downloadguix-7b0569c0a998f1bc4a551a815dd5ea7f669de305.tar.gz
gnu: Add r-rsofia.
* gnu/packages/cran.scm (r-rsofia): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c9659c6cd0..30c27cff6d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1422,3 +1422,28 @@ and density estimation")
      "This package provides a violin plot, which is a combination of a box
 plot and a kernel density plot.")
     (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)))