summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rfast/package.py
blob: 0f281d4f5ac1dfee4b02b808a146a7c4c1ad460d (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
# 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 RRfast(RPackage):
    """A Collection of Efficient and Extremely Fast R Functions.

    A collection of fast (utility) functions for data analysis. Column- and
    row- wise means, medians, variances, minimums, maximums, many t, F and
    G-square tests, many regressions (normal, logistic, Poisson), are some of
    the many fast functions. References: a) Tsagris M., Papadakis M. (2018).
    Taking R to its limits: 70+ tips. PeerJ Preprints 6:e26605v1
    <doi:10.7287/peerj.preprints.26605v1>. b) Tsagris M. and Papadakis M.
    (2018). Forward regression in R: from the extreme slow to the extreme fast.
    Journal of Data Science, 16(4): 771-780.
    <doi:10.6339/JDS.201810_16(4).00006>."""

    cran = "Rfast"

    version("2.0.7", sha256="8f86159a4760a7124e1c91ae0b022c7e496f81590ea4e4af702bea44e8dedf8f")
    version("2.0.6", sha256="34694b5c67ce8fcbdc90aac2ac80a74d4b66515f383e6301aea7c020009ebe7f")
    version("2.0.4", sha256="959907e36e24620c07ec282b203b40214f4914f4928c07ee6491043c27af31d9")

    depends_on("r@3.5.0:", type=("build", "run"))
    depends_on("r-rcpp@0.12.3:", type=("build", "run"))
    depends_on("r-rcppziggurat", type=("build", "run"))
    depends_on("r-rcpparmadillo", type=("build", "run"))