diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-here/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-here/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-here/package.py b/var/spack/repos/builtin/packages/r-here/package.py new file mode 100644 index 0000000000..4b11f3e46e --- /dev/null +++ b/var/spack/repos/builtin/packages/r-here/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2022 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 RHere(RPackage): + """A Simpler Way to Find Your Files. + + Constructs paths to your project's files. Declare the relative path of a + file within your project with 'i_am()'. Use the 'here()' function as a + drop-in replacement for 'file.path()', it will always locate the files + relative to your project root.""" + + cran = "here" + + version('1.0.1', sha256='08ed908033420d3d665c87248b3a14d1b6e2b37844bf736be620578c20ca346b') + + depends_on('r-rprojroot@2.0.2:', type=('build', 'run')) |