summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-dygraphs/package.py
blob: 9351b90a35cdd00116f850592903febe01b2564d (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
24
25
26
27
28
29
30
31
# Copyright 2013-2023 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.package import *


class RDygraphs(RPackage):
    """Interface to 'Dygraphs' Interactive Time Series Charting Library.

    An R interface to the 'dygraphs' JavaScript charting library (a copy of
    which is included in the package). Provides rich facilities for charting
    time-series data in R, including highly configurable series- and
    axis-display and interactive features like zoom/pan and series/point
    highlighting."""

    cran = "dygraphs"

    license("MIT")

    version("1.1.1.6", sha256="c3d331f30012e721a048e04639f60ea738cd7e54e4f930ac9849b95f0f005208")
    version("1.1.1.5", sha256="274035988fdd6833121fd5831692355d383acc828d540788dbcecaf88eb2d72d")
    version("0.9", sha256="2aa4754a7d824d8994c2a97ee02bab163319f065b4d10d289337dc8398c0646c")

    depends_on("r@3.0:", type=("build", "run"))
    depends_on("r-magrittr", type=("build", "run"))
    depends_on("r-htmlwidgets@0.6:", type=("build", "run"))
    depends_on("r-zoo@1.7-10:", type=("build", "run"))
    depends_on("r-xts@0.9-7:", type=("build", "run"))
    depends_on("r-htmltools@0.3.5:", type=("build", "run"), when="@1.1.1.0:")