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
|
# Copyright 2013-2022 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 RDygraphs(RPackage):
"""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."""
homepage = "https://cloud.r-project.org/package=dygraphs"
url = "https://cloud.r-project.org/src/contrib/dygraphs_0.9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/dygraphs"
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:', when='@1.1.1.0:', type=('build', 'run'))
|