summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2022-12-07 06:18:30 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-12 16:19:18 +0100
commit3e6e0696cc67e2fb98de30c2b9fb334273e09a85 (patch)
treec929e84a3b8a0f007b2d7a5c67d0f319018fb701 /gnu/packages/cran.scm
parent9e03e01aae3ef338af879be229a0a0741ccd5704 (diff)
downloadguix-3e6e0696cc67e2fb98de30c2b9fb334273e09a85.tar.gz
gnu: Add r-timeseries.
* gnu/packages/cran.scm (r-timeseries): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 04dcf8d5c9..dbde13d912 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7353,6 +7353,28 @@ standard output and error of the processes, using non-blocking connections.
 timeout.  It can also poll several processes at once.")
     (license license:expat)))
 
+(define-public r-timeseries
+  (package
+    (name "r-timeseries")
+    (version "4021.105")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "timeSeries" version))
+              (sha256
+               (base32
+                "1k6vihbs20m7zjrxh13y9mmsvnia3844c7j13p0b7m5i9fb6rqxz"))))
+    (properties `((upstream-name . "timeSeries")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-timedate))
+    (home-page
+     "https://r-forge.r-project.org/scm/viewvc.php/pkg/timeSeries/?root=rmetrics")
+    (synopsis "Metrics for financial time series objects")
+    (description
+     "This package implements S4 classes and various tools for financial time
+series.  Basic functions such as scaling and sorting, subsetting, mathematical
+operations and statistical functions are provided.")
+    (license license:gpl2+)))
+
 (define-public r-tsp
   (package
     (name "r-tsp")