summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-kableextra/package.py
blob: 38ae8c03eba9c483951833e78cdc3c522d74f69c (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
37
# 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 RKableextra(RPackage):
    """Construct Complex Table with 'kable' and Pipe Syntax.

    Build complex HTML or 'LaTeX' tables using 'kable()' from 'knitr' and the
    piping syntax from 'magrittr'. Function 'kable()' is a light weight table
    generator coming from 'knitr'. This package simplifies the way to
    manipulate the HTML or 'LaTeX' codes generated by 'kable()' and allows
    users to construct complex tables and customize styles using a readable
    syntax."""

    cran = "kableExtra"

    version("1.3.4", sha256="091ffac282cf9257edcec1a06da38b5e6516f111296bedb934e32f5692ffbbb0")

    depends_on("r@3.1.0:", type=("build", "run"))
    depends_on("r-knitr@1.16:", type=("build", "run"))
    depends_on("r-magrittr", type=("build", "run"))
    depends_on("r-stringr@1.0:", type=("build", "run"))
    depends_on("r-xml2@1.1.1:", type=("build", "run"))
    depends_on("r-rvest", type=("build", "run"))
    depends_on("r-rmarkdown@1.6.0:", type=("build", "run"))
    depends_on("r-scales", type=("build", "run"))
    depends_on("r-viridislite", type=("build", "run"))
    depends_on("r-htmltools", type=("build", "run"))
    depends_on("r-rstudioapi", type=("build", "run"))
    depends_on("r-glue", type=("build", "run"))
    depends_on("r-webshot", type=("build", "run"))
    depends_on("r-digest", type=("build", "run"))
    depends_on("r-svglite", type=("build", "run"))