From a05a34361a064bdf9a8e478ae29cb4c71ad3cc10 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Mon, 10 Oct 2022 18:24:13 -0500 Subject: new package: r-downlit (#33167) --- .../repos/builtin/packages/r-downlit/package.py | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-downlit/package.py diff --git a/var/spack/repos/builtin/packages/r-downlit/package.py b/var/spack/repos/builtin/packages/r-downlit/package.py new file mode 100644 index 0000000000..d8cfd96c15 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-downlit/package.py @@ -0,0 +1,31 @@ +# 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.package import * + + +class RDownlit(RPackage): + """Syntax Highlighting and Automatic Linking. + + Syntax highlighting of R code, specifically designed for the needs of + 'RMarkdown' packages like 'pkgdown', 'hugodown', and 'bookdown'. It + includes linking of function calls to their documentation on the web, and + automatic translation of ANSI escapes in output to the equivalent HTML.""" + + cran = "downlit" + + version("0.4.2", sha256="33dff66909104d1a5ba8e57b1288986e82b61fd5e91dce0cd358d53724b37e3c") + + depends_on("r@3.4.0:", type=("build", "run")) + depends_on("r-brio", type=("build", "run")) + depends_on("r-desc", type=("build", "run")) + depends_on("r-digest", type=("build", "run")) + depends_on("r-evaluate", type=("build", "run")) + depends_on("r-fansi", type=("build", "run")) + depends_on("r-memoise", type=("build", "run")) + depends_on("r-rlang", type=("build", "run")) + depends_on("r-vctrs", type=("build", "run")) + depends_on("r-withr", type=("build", "run")) + depends_on("r-yaml", type=("build", "run")) -- cgit v1.2.3-60-g2f50