From 7cb4a8afe0a1ba04c3d07ad776d26657d09c351e Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Fri, 15 Jan 2021 01:39:44 -0600 Subject: [PATCH] r-rle: new package (#20916) Common 'base' and 'stats' methods for 'rle' objects, aiming to make it possible to treat them transparently as vectors. --- .../repos/builtin/packages/r-rle/package.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-rle/package.py diff --git a/var/spack/repos/builtin/packages/r-rle/package.py b/var/spack/repos/builtin/packages/r-rle/package.py new file mode 100644 index 0000000000..4995c3bbf0 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-rle/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2021 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 import * + + +class RRle(RPackage): + """Common Functions for Run-Length Encoded Vectors + + Common 'base' and 'stats' methods for 'rle' objects, aiming to make it + possible to treat them transparently as vectors.""" + + homepage = "https://cloud.r-project.org/package=rle" + url = "https://cloud.r-project.org/src/contrib/rle_0.9.2.tar.gz" + list_url = "https://cran.r-project.org/src/contrib/Archive/rle" + + version('0.9.2', sha256='803cbe310af6e882e27be61d37d660dbe5910ac1ee1eff61a480bcf724a04f69') + + depends_on('r@3.5:', type=('build', 'run'))