summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-roxygen2/package.py
blob: 52d6adbf1a6c65363776b594d5e7b7def05568f0 (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 RRoxygen2(RPackage):
    """In-Line Documentation for R.

    Generate your Rd documentation, 'NAMESPACE' file, and collation field using
    specially formatted comments. Writing documentation in-line with code makes
    it easier to keep your documentation up-to-date as your requirements
    change. 'Roxygen2' is inspired by the 'Doxygen' system for C++."""

    cran = "roxygen2"

    version('7.1.2', sha256='b3693d1eb57bb1c27134447ea7f64c353c085dd2237af7cfacc75fca3d2fc5fd')
    version('7.1.1', sha256='bdc55ded037d4366f4d25a0d69e880dacc0fa22bee20f595d45855eef8548861')
    version('7.1.0', sha256='7e9b36f6e7c01a5c8c4747340b3d0c064ce2e48c93fcfbfe45139854fae74103')
    version('6.1.1', sha256='ed46b7e062e0dfd8de671c7a5f6d120fb2b720982e918dbeb01e6985694c0273')
    version('5.0.1', sha256='9f755ddd08358be436f08b02df398e50e7508b856131aeeed235099bb3a7eba5')

    depends_on('r@3.0.2:', type=('build', 'run'))
    depends_on('r@3.1:', type=('build', 'run'), when='@6.1.0:')
    depends_on('r@3.2:', type=('build', 'run'), when='@7.1.0:')
    depends_on('r@3.3:', type=('build', 'run'), when='@7.1.2:')
    depends_on('r-brew', type=('build', 'run'))
    depends_on('r-commonmark', type=('build', 'run'))
    depends_on('r-desc@1.2.0:', type=('build', 'run'))
    depends_on('r-digest', type=('build', 'run'))
    depends_on('r-knitr', type=('build', 'run'), when='@7.1.0:')
    depends_on('r-pkgload@1.0.2:', type=('build', 'run'))
    depends_on('r-purrr', type=('build', 'run'))
    depends_on('r-purrr@0.3.3:', type=('build', 'run'), when='@7.1.0:')
    depends_on('r-r6@2.1.2:', type=('build', 'run'))
    depends_on('r-rlang', type=('build', 'run'), when='@7.1.0:')
    depends_on('r-stringi', type=('build', 'run'))
    depends_on('r-stringr@1.0.0:', type=('build', 'run'))
    depends_on('r-xml2', type=('build', 'run'))
    depends_on('r-cpp11', type=('build', 'run'), when='@7.1.2:')

    depends_on('r-rcpp@0.11.0:', type=('build', 'run'), when='@:7.1.1')