summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-02 23:06:33 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-02 23:06:33 +0100
commit6615a364212ac7e731ecf0e9357317257f7114de (patch)
treef439819603db0bbb7309ad30639917e17c2b06bc
parent5b25bc55dc6e23936719e2748b5d9445ce9eea97 (diff)
downloadguix-6615a364212ac7e731ecf0e9357317257f7114de.tar.gz
gnu: Add r-urca.
* gnu/packages/cran.scm (r-urca): New variable.
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d4aeb26171..1c8b9ba521 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2547,3 +2547,24 @@ multivariate distributions.")
      "This package provides tools for stochastic fractal and deterministic
 chaotic time series analysis.")
     (license license:gpl2)))
+
+(define-public r-urca
+  (package
+    (name "r-urca")
+    (version "1.3-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "urca" version))
+       (sha256
+        (base32
+         "1akaqwf3fvvvx4sgfn641fd4sj51s0701pvfl6s5hnz2k0iwh732"))))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-nlme" ,r-nlme)))
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page "http://cran.r-project.org/web/packages/urca/")
+    (synopsis "Unit root and cointegration tests for time series data")
+    (description
+     "This package provides unit root and cointegration tests encountered in
+applied econometric analysis.")
+    (license license:gpl2+)))