summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-brobdingnag/package.py
blob: edaeb3bf01a4defde92e67f8f6dda15c1167cd58 (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
# Copyright 2013-2023 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 RBrobdingnag(RPackage):
    """Very Large Numbers in R.

    Handles very large numbers in R. Real numbers are held using their natural
    logarithms, plus a logical flag indicating sign. The package includes a
    vignette that gives a step-by-step introduction to using S4 methods."""

    cran = "Brobdingnag"

    version("1.2-9", sha256="f9012d250bc2a0f47815d6a7c06df2d4ddf3d8bab2d3b75e8cdefd964d20e91e")
    version("1.2-7", sha256="73a734342736da5b29c2827d91f662101873503af7ad9cdf9e9e697bb32dd742")
    version("1.2-6", sha256="19eccaed830ce9d93b70642f6f126ac66722a98bbd48586899cc613dd9966ad4")

    depends_on("r@2.13.0:", type=("build", "run"))
    depends_on("r-matrix@1.5-0:", type=("build", "run"), when="@1.2-9:")