summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-globaloptions/package.py
blob: d512706232559a171e385a7de646cdffa6174b6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 RGlobaloptions(RPackage):
    """Generate Functions to Get or Set Global Options.

    It provides more controls on the option values such as validation and
    filtering on the values, making options invisible or private."""

    cran = "GlobalOptions"

    version("0.1.2", sha256="47890699668cfa9900a829c51f8a32e02a7a7764ad07cfac972aad66f839753e")
    version("0.1.0", sha256="567a0a51f6b7b14127302f00e6e4944befd4964c069f96a9e61256e8c3c79ef2")
    version("0.0.12", sha256="c09da3f9b1646d0f815056cdbeb5fff7dda29f7dd8742d245f5f6dc7066077a9")

    depends_on("r@2.10:", type=("build", "run"))
    depends_on("r@3.3.0:", type=("build", "run"), when="@0.0.13:")