summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-02-07 13:48:14 -0600
committerGitHub <noreply@github.com>2021-02-07 13:48:14 -0600
commitde99535f9afce5f516374ea9a8d706384d03324b (patch)
tree68ba969adb01b36c69dc350d712fe7b147220765 /var
parentfef79b7e9ba249e1ac6aaf4df81b5a67ed69d7c1 (diff)
downloadspack-de99535f9afce5f516374ea9a8d706384d03324b.tar.gz
spack-de99535f9afce5f516374ea9a8d706384d03324b.tar.bz2
spack-de99535f9afce5f516374ea9a8d706384d03324b.tar.xz
spack-de99535f9afce5f516374ea9a8d706384d03324b.zip
Package/r require and subpackage dep fix (#21433)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-require/package.py29
1 files changed, 29 insertions, 0 deletions
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'))