diff options
Diffstat (limited to 'var')
-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')) |