Package/r require and subpackage dep fix (#21433)

This commit is contained in:
Desmond Orton 2021-02-07 13:48:14 -06:00 committed by GitHub
parent fef79b7e9b
commit de99535f9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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'))