summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ggvis/package.py
blob: ac8864a19c3d79bd95b9e63d5350894bcc05493e (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
32
33
34
35
36
# Copyright 2013-2024 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 RGgvis(RPackage):
    """Interactive Grammar of Graphics.

    An implementation of an interactive grammar of graphics, taking the best
    parts of 'ggplot2', combining them with the reactive framework from 'shiny'
    and web graphics from 'vega'."""

    cran = "ggvis"

    license("GPL-2.0-only OR custom")

    version("0.4.8", sha256="3d5480a0b97a57c26b595785f826b13d7695dab1f1dd8fcf5d7964fa8546a26a")
    version("0.4.7", sha256="9e6b067e11d497c796d42156570e2481afb554c5db265f42afbb74d2ae0865e3")
    version("0.4.4", sha256="1332ea122b768688c8a407a483be80febc4576de0ec8929077738421b27cafaf")
    version("0.4.3", sha256="34d517783016aaa1c4bef8972f4c06df5cd9ca0568035b647e60a8369043ecdc")
    version("0.4.2", sha256="2fcc2b6ca4fbdc69fe75a2c58c12cb43096ab418160c98367e5ac0fd19fc591d")

    depends_on("r@3.0:", type=("build", "run"))
    depends_on("r-assertthat", type=("build", "run"))
    depends_on("r-jsonlite@0.9.11:", type=("build", "run"))
    depends_on("r-shiny@0.11.1:", type=("build", "run"))
    depends_on("r-magrittr", type=("build", "run"))
    depends_on("r-dplyr@0.4.0:", type=("build", "run"))
    depends_on("r-dplyr@0.5.0:", type=("build", "run"), when="@0.4.7:")
    depends_on("r-rlang", type=("build", "run"), when="@0.4.7:")
    depends_on("r-htmltools@0.2.4:", type=("build", "run"))

    depends_on("r-lazyeval", type=("build", "run"), when="@:0.4.4")