Package/r require and subpackage dep fix (#21433)
This commit is contained in:
parent
fef79b7e9b
commit
de99535f9a
1 changed files with 29 additions and 0 deletions
29
var/spack/repos/builtin/packages/r-require/package.py
Normal file
29
var/spack/repos/builtin/packages/r-require/package.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Copyright 2013-2021 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 RRequire(RPackage):
|
||||
"""Installing and Loading R Packages for Reproducible Workflows
|
||||
|
||||
A single key function, 'Require' that wraps 'install.packages',
|
||||
'remotes::install_github', 'versions::install.versions', and
|
||||
'base::require' that allows for reproducible workflows. As with
|
||||
other functions in a reproducible workflow, this package
|
||||
emphasizes functions that return the same result whether it is
|
||||
the first or subsequent times running the function. Maturing."""
|
||||
|
||||
homepage = "https://require.predictiveecology.org/"
|
||||
url = "https://cloud.r-project.org/src/contrib/Require_0.0.10.tar.gz"
|
||||
list_url = "https://cloud.r-project.org/src/contrib/Archive/Require"
|
||||
|
||||
maintainers = ['dorton21']
|
||||
|
||||
version('0.0.10', sha256='2087c3bb4d660d205962e241c1fc4a366dada5a1ed090d545c52188490567f8d')
|
||||
|
||||
depends_on('r@3.5:', type=('build', 'run'))
|
||||
depends_on('r-data-table@1.10.4:', type=('build', 'run'))
|
||||
depends_on('r-remotes', type=('build', 'run'))
|
Loading…
Reference in a new issue