summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rmarkdown/package.py
blob: 0e657310f6f6a0c3ddcd04495c41df45fda376b5 (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
38
39
40
41
42
43
44
# 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.package import *


class RRmarkdown(RPackage):
    """Dynamic Documents for R.

    Convert R Markdown documents into a variety of formats."""

    cran = "rmarkdown"

    version('2.11', sha256='9371255300e7ea4cd936978ad2ca3d205d8605e09f4913cb0d4725005a7a9775')
    version('2.9', sha256='6ce5af8b9a7c282619f74d3999d27ec4de12d3f93cde8fd12cc4c19f02ea8668')
    version('2.6', sha256='e6e799c472de11e079bc752cca4b4dbd6803650649457bb6ae836cb1edcdf6b0')
    version('1.14', sha256='f636b1048c5be56e06aa0b2b4342ad5c8192734f1e9b27468fef62be672edc61')
    version('1.13', sha256='96fb6b08d27bbb8054145e0a55721f905341941d4f6691480a2a234e2d5a63ef')
    version('1.7', sha256='c3191db65b9ad41b6dbb77aff53487701032d306e92b208ef7515b747931fe63')
    version('1.0', sha256='ff1ecb74ebc444b9b0b7b547adc512daefe1ee08d06bc0e3ee4eb68e58d2ef30')

    depends_on('r+X', type=('build', 'run'))
    depends_on('r@3.0:', type=('build', 'run'))
    depends_on('r-knitr@1.22:', type=('build', 'run'))
    depends_on('r-yaml@2.1.19:', type=('build', 'run'))
    depends_on('r-htmltools@0.3.5:', type=('build', 'run'))
    depends_on('r-evaluate@0.13:', type=('build', 'run'))
    depends_on('r-jsonlite', type=('build', 'run'))
    depends_on('r-tinytex@0.11:', type=('build', 'run'), when='@1.10:')
    depends_on('r-tinytex@0.31:', type=('build', 'run'), when='@2.8:')
    depends_on('r-xfun', type=('build', 'run'), when='@1.13:')
    depends_on('r-xfun@0.15:', type=('build', 'run'), when='@2.6:')
    depends_on('r-xfun@0.21:', type=('build', 'run'), when='@2.8:')
    depends_on('r-jquerylib', type=('build', 'run'), when='@2.11:')
    depends_on('r-stringr@1.2.0:', type=('build', 'run'), when='@1.6:')
    depends_on('r-rprojroot', type=('build', 'run'), when='@1.3:1.7')
    depends_on('r-mime', type=('build', 'run'), when='@1.8:1.14')
    depends_on('r-catools', type=('build', 'run'), when='@:1.7')
    depends_on('r-base64enc', type=('build', 'run'), when='@:1.14')
    depends_on('pandoc@1.12.3:')
    depends_on('pandoc@1.14:', when='@2.6:')