summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-caroline/package.py
blob: a4db03a3608980372285c2231d690360f4bc698b (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
# 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 RCaroline(RPackage):
    """A Collection of Database, Data Structure, Visualization, andUtility
    Functions for R.

    The caroline R library contains dozens of functions useful for: database
    migration (dbWriteTable2), database style joins & aggregation (nerge,
    groupBy & bestBy), data structure conversion (nv, tab2df), legend table
    making (sstable & leghead), plot annotation (labsegs & mvlabs), data
    visualization (violins, pies & raPlot), character string manipulation (m &
    pad), file I/O (write.delim), batch scripting and more. The package's
    greatest contributions lie in the database style merge, aggregation and
    interface functions as well as in it's extensive use and propagation of
    row, column and vector names in most functions."""

    cran = "caroline"

    license("Artistic-2.0")

    version("0.9.0", sha256="7231daacf2f0e89d9363ea919071f8352ae487011f56e84a4054de11a9243ac8")
    version("0.8.0", sha256="58f464711f7279ca2aa173e6ce29d3308e01db37dccefbbf14cd7720c0231976")
    version("0.7.6", sha256="e7ba948f7d87f091b498dd0eec2ca4fdad7af4e2bbb67e0945c2f0d3f2eadda9")

    depends_on("r@1.8.0:", type=("build", "run"))
    depends_on("r@2.0.0:", type=("build", "run"), when="@0.9.0:")