aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-11-08 16:03:09 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-11-08 16:21:53 +0100
commit3699383e6f217b81ccf849cd68c876579f6345f8 (patch)
tree1270ddbd671f48f9258ca80747478e446f964b91 /gnu/packages/cran.scm
parent5a80c15c14760b3989e24c7893bf79afb9f48741 (diff)
downloadpatches-3699383e6f217b81ccf849cd68c876579f6345f8.tar
patches-3699383e6f217b81ccf849cd68c876579f6345f8.tar.gz
gnu: Add r-xts.
* gnu/packages/cran.scm (r-xts): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 97de2f90f4..6cde16848d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1472,3 +1472,26 @@ likelihood models in R. This package modifies and extends the @code{mle}
classes in the @code{stats4} package.")
;; Any version of the GPL
(license license:gpl2+)))
+
+(define-public r-xts
+ (package
+ (name "r-xts")
+ (version "0.10-0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "xts" version))
+ (sha256
+ (base32
+ "1w7lxy3hbf005fvpzbwiznj8jbxi07s4189vbgxisd35l9a4v6q4"))))
+ (build-system r-build-system)
+ (propagated-inputs `(("r-zoo" ,r-zoo)))
+ (native-inputs `(("gfortran" ,gfortran)))
+ (home-page "https://github.com/joshuaulrich/xts")
+ (synopsis "Extensible time series")
+ (description
+ "This package provides for uniform handling of R's different time-based
+data classes by extending @code{zoo}, maximizing native format information
+preservation and allowing for user-level customization and extension, while
+simplifying cross-class interoperability.")
+ (license license:gpl2+)))