r-rle: new package (#20916)

Common 'base' and 'stats' methods for 'rle' objects, aiming to make it
possible to treat them transparently as vectors.
This commit is contained in:
Glenn Johnson 2021-01-15 01:39:44 -06:00 committed by GitHub
parent 1e22b5a00b
commit 7cb4a8afe0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))