From 2697c7309751e85f9c548e3cb24f20e83811ec5c Mon Sep 17 00:00:00 2001 From: Desmond Orton Date: Tue, 9 Feb 2021 16:11:14 -0600 Subject: [PATCH] New Package r-reproducible (#21434) --- .../packages/r-reproducible/package.py | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-reproducible/package.py diff --git a/var/spack/repos/builtin/packages/r-reproducible/package.py b/var/spack/repos/builtin/packages/r-reproducible/package.py new file mode 100644 index 0000000000..00dfe574af --- /dev/null +++ b/var/spack/repos/builtin/packages/r-reproducible/package.py @@ -0,0 +1,45 @@ +# 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 RReproducible(RPackage): + """A Set of Tools that Enhance Reproducibility Beyond Package Management + + Collection of high-level, machine- and OS-independent tools for + making deeply reproducible and reusable content in R. The two + workhorse functions are Cache and prepInputs; these allow for: + nested caching, robust to environments, and objects with + environments (like functions); and data retrieval and processing + in continuous workflow environments. In all cases, efforts are + made to make the first and subsequent calls of functions have + the same result, but vastly faster at subsequent times by way of + checksums and digesting. Several features are still under active + development, including cloud storage of cached objects, allowing + for sharing between users. Several advanced options are + available, see ?reproducibleOptions.""" + + homepage = "https://reproducible.predictiveecology.org/" + url = "https://cloud.r-project.org/src/contrib/reproducible_1.2.4.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/reproducible" + + maintainers = ['dorton21'] + + version('1.2.4', sha256='0525deefa6a0713c3fe2da8bfc529f62d6352bebf2ef08866503b4853412f149') + + depends_on('r@3.5:', type=('build', 'run')) + depends_on('r-data-table@1.10.4:', type=('build', 'run')) + depends_on('r-dbi', type=('build', 'run')) + depends_on('r-digest', type=('build', 'run')) + depends_on('r-fpcompare', type=('build', 'run')) + depends_on('r-glue', type=('build', 'run')) + depends_on('r-magrittr', type=('build', 'run')) + depends_on('r-require', type=('build', 'run')) + depends_on('r-raster', type=('build', 'run')) + depends_on('r-rsqlite', type=('build', 'run')) + depends_on('r-rlang', type=('build', 'run')) + depends_on('r-sp@1.4-2:', type=('build', 'run')) + depends_on('unrar', type=('build', 'run'))