summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2022-03-21 09:21:02 -0500
committerGitHub <noreply@github.com>2022-03-21 09:21:02 -0500
commitef0bc7103509b5ccdea29f19b0a36999a0eed16b (patch)
treeff7fbbacfdb41001bbbd205669b76f5efc07a85a
parentb4ab4ddc2742d52baa768db2f7a1769f594c5224 (diff)
downloadspack-ef0bc7103509b5ccdea29f19b0a36999a0eed16b.tar.gz
spack-ef0bc7103509b5ccdea29f19b0a36999a0eed16b.tar.bz2
spack-ef0bc7103509b5ccdea29f19b0a36999a0eed16b.tar.xz
spack-ef0bc7103509b5ccdea29f19b0a36999a0eed16b.zip
r-recipes: add v0.2.0 (#29623)
Also add new package: r-hardhat.
-rw-r--r--var/spack/repos/builtin/packages/r-hardhat/package.py28
-rw-r--r--var/spack/repos/builtin/packages/r-recipes/package.py3
2 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-hardhat/package.py b/var/spack/repos/builtin/packages/r-hardhat/package.py
new file mode 100644
index 0000000000..73e52e3742
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-hardhat/package.py
@@ -0,0 +1,28 @@
+# 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 RHardhat(RPackage):
+ """Construct Modeling Packages.
+
+ Building modeling packages is hard. A large amount of effort generally goes
+ into providing an implementation for a new method that is efficient, fast,
+ and correct, but often less emphasis is put on the user interface. A good
+ interface requires specialized knowledge about S3 methods and formulas,
+ which the average package developer might not have. The goal of 'hardhat'
+ is to reduce the burden around building new modeling packages by providing
+ functionality for preprocessing, predicting, and validating input."""
+
+ cran = "hardhat"
+
+ version('0.2.0', sha256='9497ca0fe6206c54d1da79f248d44c5faffc7d375b630091ef45dfca46c29628')
+
+ depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r-glue', type=('build', 'run'))
+ depends_on('r-rlang@0.4.2:', type=('build', 'run'))
+ depends_on('r-tibble', type=('build', 'run'))
+ depends_on('r-vctrs@0.3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-recipes/package.py b/var/spack/repos/builtin/packages/r-recipes/package.py
index c72291cf11..5e3c0570da 100644
--- a/var/spack/repos/builtin/packages/r-recipes/package.py
+++ b/var/spack/repos/builtin/packages/r-recipes/package.py
@@ -17,6 +17,7 @@ class RRecipes(RPackage):
cran = "recipes"
+ version('0.2.0', sha256='3d0073e3eb98ac089a94bf8430f3c50915ff1f495d8e967c37baa6a0f6cea0a4')
version('0.1.17', sha256='ed20ba0ea0165310e31864ed7d2e005a2a37b76c7913977fd124d8b567616d3d')
version('0.1.15', sha256='808ad2f4d68ae03aa27332437f037597e9c1bebd65ed4ebfab1d243ea6022e76')
version('0.1.6', sha256='51e0db72de171d58d13ad8ffcf1dea402ab8f82100d161722041b6fd014cbfd9')
@@ -26,8 +27,10 @@ class RRecipes(RPackage):
depends_on('r-ellipsis', type=('build', 'run'), when='@0.1.17:')
depends_on('r-generics', type=('build', 'run'))
depends_on('r-generics@0.1.0:', type=('build', 'run'), when='@0.1.15:')
+ depends_on('r-generics@0.1.0.9000:', type=('build', 'run'), when='@0.2.0:')
depends_on('r-glue', type=('build', 'run'))
depends_on('r-gower', type=('build', 'run'))
+ depends_on('r-hardhat@0.1.6.9001:', type=('build', 'run'), when='@0.2.0:')
depends_on('r-ipred', type=('build', 'run'))
depends_on('r-ipred@0.9-12:', type=('build', 'run'), when='@0.1.17:')
depends_on('r-lifecycle', type=('build', 'run'), when='@0.1.15:')