summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-crosstalk/package.py
blob: 1009261d8ce7d904e636d1765da00eb36364e268 (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-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 RCrosstalk(RPackage):
    """Inter-Widget Interactivity for HTML Widgets.

    Provides building blocks for allowing HTML widgets to communicate with each
    other, with Shiny or without (i.e. static .html files). Currently supports
    linked brushing and filtering."""

    cran = "crosstalk"

    license("MIT")

    version("1.2.0", sha256="4237baab35cd246a8a98fb9cf4ce53b6ddbc31d00742ded4edea0479613d1ea0")
    version("1.1.0.1", sha256="36a70b10bc11826e314c05f9579fd791b9ac3b3a2cfed4d4ca74ce1ad991300e")
    version("1.0.0", sha256="b31eada24cac26f24c9763d9a8cbe0adfd87b264cf57f8725027fe0c7742ca51")

    depends_on("r-htmltools@0.3.5:", type=("build", "run"))
    depends_on("r-htmltools@0.3.6:", type=("build", "run"), when="@1.1.0.1:")
    depends_on("r-jsonlite", type=("build", "run"))
    depends_on("r-lazyeval", type=("build", "run"))
    depends_on("r-r6", type=("build", "run"))

    depends_on("r-ggplot2", type=("build", "run"), when="@:1.0.0")
    depends_on("r-shiny@0.11:", type=("build", "run"), when="@:1.0.0")