diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-03-02 22:55:10 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-03-02 22:55:10 +0100 |
commit | 93c21ddc8620ec1e6930b85161cdbc89fc459f02 (patch) | |
tree | 5ed1aa3ae1591715441803bc499b6d4d530b4f49 /gnu/packages/cran.scm | |
parent | 4e35c4290ef64e8fba376f9c3d9754757ebf89da (diff) | |
download | patches-93c21ddc8620ec1e6930b85161cdbc89fc459f02.tar patches-93c21ddc8620ec1e6930b85161cdbc89fc459f02.tar.gz |
gnu: Add r-ttr.
* gnu/packages/cran.scm (r-ttr): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r-- | gnu/packages/cran.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 2e229e9e0f..63f1405472 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -2289,3 +2289,28 @@ including node and graph-level indices, structural distance and covariance methods, structural equivalence detection, network regression, random graph generation, and 2D/3D network visualization.") (license license:gpl2+))) + +(define-public r-ttr + (package + (name "r-ttr") + (version "0.23-3") + (source + (origin + (method url-fetch) + (uri (cran-uri "TTR" version)) + (sha256 + (base32 + "07r62ngyzjl4aszdxnr3n6bnbcgcap32yhd430jsilicg8n06di1")))) + (properties `((upstream-name . "TTR"))) + (build-system r-build-system) + (propagated-inputs + `(("r-curl" ,r-curl) + ("r-xts" ,r-xts) + ("r-zoo" ,r-zoo))) + (native-inputs `(("gfortran" ,gfortran))) + (home-page "https://github.com/joshuaulrich/TTR") + (synopsis "Technical trading rules") + (description + "This package provides functions and data to construct technical trading +rules with R.") + (license license:gpl2))) |