r-philentropy: add v0.6.0 (#29619)

This also adds r-poorman as a new package.
This commit is contained in:
Glenn Johnson 2022-03-21 09:08:34 -05:00 committed by GitHub
parent b67c7e593b
commit 1b849aaa2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 1 deletions

View file

@ -20,10 +20,13 @@ class RPhilentropy(RPackage):
cran = "philentropy" cran = "philentropy"
version('0.6.0', sha256='138acf2aedab17c9d367def378e35c8aba80d9e786284b2866955cea1c24eeb6')
version('0.5.0', sha256='b39e9a825458f3377e23b2a133180566780e89019e9d22a6a5b7ca87c49c412f') version('0.5.0', sha256='b39e9a825458f3377e23b2a133180566780e89019e9d22a6a5b7ca87c49c412f')
version('0.4.0', sha256='bfd30bf5635aab6a82716299a87d44cf96c7ab7f4ee069843869bcc85c357127') version('0.4.0', sha256='bfd30bf5635aab6a82716299a87d44cf96c7ab7f4ee069843869bcc85c357127')
depends_on('r@3.1.2:', type=('build', 'run')) depends_on('r@3.1.2:', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run')) depends_on('r-rcpp', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-kernsmooth', type=('build', 'run')) depends_on('r-kernsmooth', type=('build', 'run'))
depends_on('r-poorman', type=('build', 'run'), when='@0.6.0:')
depends_on('r-dplyr', type=('build', 'run'), when='@:0.5.0')

View file

@ -0,0 +1,19 @@
# Copyright 2013-2022 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 RPoorman(RPackage):
"""A Poor Man's Dependency Free Recreation of 'dplyr'.
A replication of key functionality from 'dplyr' and the wider 'tidyverse'
using only 'base'."""
cran = "poorman"
version('0.2.5', sha256='b92b30ce0f4f02c4fa4a4e90673ef2e0ed8de9b9080dd064506581989fcc0716')
depends_on('r@3.5:', type=('build', 'run'))