summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-quantmod/package.py
blob: b9f0e063e8e3e42194af751338665f0efa0c630f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class RQuantmod(RPackage):
    """Specify, build, trade, and analyse quantitative financial trading
    strategies."""

    homepage = "http://www.quantmod.com/"
    url      = "https://cran.r-project.org/src/contrib/quantmod_0.4-5.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/quantmod"

    version('0.4-10', 'e4119c673567801eee16dcbbd0265de8')
    version('0.4-5', 'cab3c409e4de3df98a20f1ded60f3631')

    depends_on('r-xts', type=('build', 'run'))
    depends_on('r-zoo', type=('build', 'run'))
    depends_on('r-ttr', type=('build', 'run'))
    depends_on('r-curl', type=('build', 'run'))