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