summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-02 23:03:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-02 23:03:10 +0100
commit0b64332c74fa09d768349c05b0db6bd309962781 (patch)
treeda61a96d151ff1fc57f109d8a42be50e3d97b1a4
parent93c21ddc8620ec1e6930b85161cdbc89fc459f02 (diff)
downloadguix-0b64332c74fa09d768349c05b0db6bd309962781.tar.gz
gnu: Add r-leaps.
* gnu/packages/cran.scm (r-leaps): New variable.
-rw-r--r--gnu/packages/cran.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 63f1405472..4f54b40149 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2314,3 +2314,23 @@ generation, and 2D/3D network visualization.")
      "This package provides functions and data to construct technical trading
 rules with R.")
     (license license:gpl2)))
+
+(define-public r-leaps
+  (package
+    (name "r-leaps")
+    (version "3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "leaps" version))
+       (sha256
+        (base32
+         "11gjmn1azrjw5xlvdb4gknj9985kck9x8zb9np1rnk2smp6pka2m"))))
+    (build-system r-build-system)
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page "http://cran.r-project.org/web/packages/leaps/")
+    (synopsis "Regression subset selection")
+    (description
+     "This package provides tools for regression subset selection, including
+exhaustive search.")
+    (license license:gpl2+)))