summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-02 23:05:52 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-02 23:05:52 +0100
commitb6dc3255386a61de6abe5fa26afd760a3e8573a0 (patch)
tree3fed977f9066b97a77279a3cd0e10333e8de8cfd
parentdceb159206e8336f855d768a83c2da6b9dd95982 (diff)
downloadguix-b6dc3255386a61de6abe5fa26afd760a3e8573a0.tar.gz
gnu: Add r-tseries.
* gnu/packages/cran.scm (r-tseries): New variable.
-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 8c811269f3..e9d243d992 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2423,3 +2423,28 @@ Cambridge University Press, 1993.")
 framework to allow users to specify, build, trade, and analyse quantitative
 financial trading strategies.")
     (license license:gpl3)))
+
+(define-public r-tseries
+  (package
+    (name "r-tseries")
+    (version "0.10-43")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "tseries" version))
+       (sha256
+        (base32
+         "1yjxhj7l1p2przczl6frggfcr5iwda9lbcsmh0y75gbbbps14yf2"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-quadprog" ,r-quadprog)
+       ("r-quantmod" ,r-quantmod)
+       ("r-zoo" ,r-zoo)))
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "http://cran.r-project.org/web/packages/tseries/")
+    (synopsis "Time series analysis and computational finance")
+    (description
+     "This package provides functions relating to time series analysis and
+computational finance.")
+    (license license:gpl2)))