parent
b4ab4ddc27
commit
ef0bc71035
2 changed files with 31 additions and 0 deletions
28
var/spack/repos/builtin/packages/r-hardhat/package.py
Normal file
28
var/spack/repos/builtin/packages/r-hardhat/package.py
Normal file
|
@ -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'))
|
|
@ -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:')
|
||||
|
|
Loading…
Reference in a new issue