summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-quantmod/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-quantmod/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-quantmod/package.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/r-quantmod/package.py b/var/spack/repos/builtin/packages/r-quantmod/package.py
index 64e12dc424..2c5b12290d 100644
--- a/var/spack/repos/builtin/packages/r-quantmod/package.py
+++ b/var/spack/repos/builtin/packages/r-quantmod/package.py
@@ -7,14 +7,12 @@ from spack import *
class RQuantmod(RPackage):
- """Quantitative Financial Modelling Framework
+ """Quantitative Financial Modelling Framework.
Specify, build, trade, and analyse quantitative financial trading
strategies."""
- homepage = "https://www.quantmod.com/"
- url = "https://cloud.r-project.org/src/contrib/quantmod_0.4-5.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/quantmod"
+ cran = "quantmod"
version('0.4.18', sha256='aa40448e93a1facf399213ac691784007731e869ad243fe762381ab099cd6c35')
version('0.4-15', sha256='7ef2e798d4d8e4d2af0a5b2b9fecebec30568087afbd24bfd923cdeb8b53df53')
@@ -22,7 +20,7 @@ class RQuantmod(RPackage):
version('0.4-10', sha256='030040aa567adaba1ea4a1f05eb45712dbdaabbabca72733e7fb2984051f688b')
version('0.4-5', sha256='c7889eb55a21296e7bda1242c46e734a0a8bd6dcbf5726aafae5313354eec893')
- depends_on('r@3.2.0:', when='@0.4-11:', type=('build', 'run'))
+ depends_on('r@3.2.0:', type=('build', 'run'), when='@0.4-11:')
depends_on('r-xts@0.9-0:', type=('build', 'run'))
depends_on('r-zoo', type=('build', 'run'))
depends_on('r-ttr@0.2:', type=('build', 'run'))