summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-htmltable/package.py
blob: e381c8773dc32178b89f8be2c53018770271cdb5 (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
# 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 RHtmltable(RPackage):
    """Advanced Tables for Markdown/HTML.

    Tables with state-of-the-art layout elements such as row spanners, column
    spanners, table spanners, zebra striping, and more. While allowing advanced
    layout, the underlying css-structure is simple in order to maximize
    compatibility with word processors such as 'MS Word' or 'LibreOffice'. The
    package also contains a few text formatting functions that help outputting
    text compatible with HTML/'LaTeX'."""

    cran = "htmlTable"

    version("2.4.1", sha256="3a7f3e75d886dc398fd1d3cae907b536fff6af3a3d2c18349ef12ec06d310f93")
    version("2.4.0", sha256="4ca2b5616d77cfeee8ae5ca74307b86407d478b12d1ce17ba9c447e233b89a9d")
    version("2.1.0", sha256="4049339b317cbec1c8c7930e2e36cf0fc8b002516092dd270bb794d8db02f0bf")
    version("1.13.1", sha256="689f32b65da6a57ad500e8d9ef3309d346401dca277c6b264a46c8d7c75884d0")
    version("1.11.2", sha256="64a273b1cdf07a7c57b9031315ca665f95d78e70b4320d020f64a139278877d1")
    version("1.9", sha256="5b487a7f33af77db7d987bf61f3ef2ba18bb629fe7b9802409f8b3485c603132")

    depends_on("r-stringr", type=("build", "run"))
    depends_on("r-knitr@1.6:", type=("build", "run"))
    depends_on("r-magrittr@1.5:", type=("build", "run"))
    depends_on("r-checkmate", type=("build", "run"))
    depends_on("r-htmlwidgets", type=("build", "run"))
    depends_on("r-htmltools", type=("build", "run"), when="@1.11.0:")
    depends_on("r-rstudioapi@0.6:", type=("build", "run"), when="@1.11.0:")