From 3c14d130cad78509cc889dbfce9f86ee109b112b Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Sat, 25 Sep 2021 16:50:22 -0400 Subject: New package: r-styler (#25399) --- .../repos/builtin/packages/r-styler/package.py | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-styler/package.py diff --git a/var/spack/repos/builtin/packages/r-styler/package.py b/var/spack/repos/builtin/packages/r-styler/package.py new file mode 100644 index 0000000000..fa1dd2dca1 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-styler/package.py @@ -0,0 +1,28 @@ +# 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 RStyler(RPackage): + """styler: Non-Invasive Pretty Printing of R Code""" + + homepage = "https://cloud.r-project.org/package=styler" + url = "https://cloud.r-project.org/src/contrib/styler_1.3.2.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/styler" + + version('1.3.2', sha256='3fcf574382c607c2147479bad4f9fa8b823f54fb1462d19ec4a330e135a44ff1') + + depends_on('r-backports@1.1.0:', type=('build', 'run')) + depends_on('r-cli@1.1.0:', type=('build', 'run')) + depends_on('r-magrittr@1.0.1:', type=('build', 'run')) + depends_on('r-purrr@0.2.3:', type=('build', 'run')) + depends_on('r-r-cache@0.14.0:', type=('build', 'run')) + depends_on('r-rematch2@2.0.1:', type=('build', 'run')) + depends_on('r-rlang@0.1.1:', type=('build', 'run')) + depends_on('r-rprojroot@1.1:', type=('build', 'run')) + depends_on('r-tibble@1.4.2:', type=('build', 'run')) + depends_on('r-withr@1.0.0:', type=('build', 'run')) + depends_on('r-xfun@0.1:', type=('build', 'run')) -- cgit v1.2.3-60-g2f50