diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-rprojroot/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-rprojroot/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rprojroot/package.py b/var/spack/repos/builtin/packages/r-rprojroot/package.py new file mode 100644 index 0000000000..617646350c --- /dev/null +++ b/var/spack/repos/builtin/packages/r-rprojroot/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2018 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 RRprojroot(RPackage): + """Robust, reliable and flexible paths to files below a project root. + The 'root' of a project is defined as a directory that matches a + certain criterion, e.g., it contains a certain regular file.""" + + homepage = "https://cran.r-project.org/package=rprojroot" + url = "https://cran.rstudio.com/src/contrib/rprojroot_1.2.tar.gz" + list_url = "https://cran.rstudio.com/src/contrib/Archive/rprojroot" + + version('1.2', 'c1a0574aaac2a43a72f804abbaea19c3') + + depends_on('r-backports', type=('build', 'run')) + depends_on('r@3.0.0:') |