summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rcpproll/package.py
blob: d9fa889e2e03d2da59ade875a55a19724378227a (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-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 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.1", sha256="d2f5d978b6feb8510ec1a1a50ba0e8bf9002bb77bfad7d120f5b30b8f56036df")
    version("0.3.0", sha256="cbff2096443a8a38a6f1dabf8c90b9e14a43d2196b412b5bfe5390393f743f6b")

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