aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-08-14 22:25:31 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-08-17 17:26:11 +0200
commit062b6dbd258661a4271a6115faf9d6d35b4d86ea (patch)
treee55cd765ecbdd0dddc9d5d4be13593c0aab233d6
parent58db98c9f213b4010942ea9254d0e877ff95a132 (diff)
downloadgnu-guix-062b6dbd258661a4271a6115faf9d6d35b4d86ea.tar
gnu-guix-062b6dbd258661a4271a6115faf9d6d35b4d86ea.tar.gz
gnu: Add r-lmtest.
* gnu/packages/cran.scm (r-lmtest): New variable.
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b1eb913458..8200ccfafa 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22,6 +22,7 @@
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system r)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages perl)
#:use-module (gnu packages statistics)
#:use-module (gnu packages web))
@@ -663,3 +664,28 @@ SpatialVx.")
extreme values of a process of interest; be they block maxima over long blocks
or excesses over a high threshold.")
(license license:gpl2+)))
+
+(define-public r-lmtest
+ (package
+ (name "r-lmtest")
+ (version "0.9-35")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "lmtest" version))
+ (sha256
+ (base32
+ "107br1l7p52wxvazs031f4h5ryply97qywg9dzrkw4ydnvqq4j9g"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-zoo" ,r-zoo)))
+ (native-inputs
+ `(("gfortran" ,gfortran)))
+ (home-page "http://cran.r-project.org/web/packages/lmtest")
+ (synopsis "Testing linear regression models")
+ (description
+ "This package provides a collection of tests, data sets, and examples for
+diagnostic checking in linear regression models. Furthermore, some generic
+tools for inference in parametric models are provided.")
+ ;; Either version is okay
+ (license (list license:gpl2 license:gpl3))))