summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rcpproll/package.py
blob: 41f0732b18fcfa05515eb075a22fc5019610c841 (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-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 RRcpproll(RPackage):
    """Efficient Rolling / Windowed Operations.

    Provides fast and efficient routines for common rolling / windowed
    operations. Routines for the efficient computation of windowed mean,
    median, sum, product, minimum, maximum, standard deviation and variance are
    provided."""

    cran = "RcppRoll"

    version("0.3.0", sha256="cbff2096443a8a38a6f1dabf8c90b9e14a43d2196b412b5bfe5390393f743f6b")

    depends_on("r@2.15.1:", type=("build", "run"))
    depends_on("r-rcpp", type=("build", "run"))