From de99535f9afce5f516374ea9a8d706384d03324b Mon Sep 17 00:00:00 2001 From: Desmond Orton Date: Sun, 7 Feb 2021 13:48:14 -0600 Subject: Package/r require and subpackage dep fix (#21433) --- .../repos/builtin/packages/r-require/package.py | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-require/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/r-require/package.py b/var/spack/repos/builtin/packages/r-require/package.py new file mode 100644 index 0000000000..e4da525f21 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-require/package.py @@ -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')) -- cgit v1.2.3-60-g2f50