diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2022-03-21 09:08:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 15:08:34 +0100 |
commit | 1b849aaa2c7bbb907a58fca01cdbb4d5664780be (patch) | |
tree | 90566c4719b5020619854f04684f7071147ce50b | |
parent | b67c7e593b0121bd9540974799730c789c5d512f (diff) | |
download | spack-1b849aaa2c7bbb907a58fca01cdbb4d5664780be.tar.gz spack-1b849aaa2c7bbb907a58fca01cdbb4d5664780be.tar.bz2 spack-1b849aaa2c7bbb907a58fca01cdbb4d5664780be.tar.xz spack-1b849aaa2c7bbb907a58fca01cdbb4d5664780be.zip |
r-philentropy: add v0.6.0 (#29619)
This also adds r-poorman as a new package.
-rw-r--r-- | var/spack/repos/builtin/packages/r-philentropy/package.py | 5 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/r-poorman/package.py | 19 |
2 files changed, 23 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/r-philentropy/package.py b/var/spack/repos/builtin/packages/r-philentropy/package.py index 1a46d949b7..0acee8f19e 100644 --- a/var/spack/repos/builtin/packages/r-philentropy/package.py +++ b/var/spack/repos/builtin/packages/r-philentropy/package.py @@ -20,10 +20,13 @@ class RPhilentropy(RPackage): cran = "philentropy" + version('0.6.0', sha256='138acf2aedab17c9d367def378e35c8aba80d9e786284b2866955cea1c24eeb6') version('0.5.0', sha256='b39e9a825458f3377e23b2a133180566780e89019e9d22a6a5b7ca87c49c412f') version('0.4.0', sha256='bfd30bf5635aab6a82716299a87d44cf96c7ab7f4ee069843869bcc85c357127') depends_on('r@3.1.2:', 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-poorman', type=('build', 'run'), when='@0.6.0:') + + depends_on('r-dplyr', type=('build', 'run'), when='@:0.5.0') diff --git a/var/spack/repos/builtin/packages/r-poorman/package.py b/var/spack/repos/builtin/packages/r-poorman/package.py new file mode 100644 index 0000000000..7eb3dbb846 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-poorman/package.py @@ -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')) |