new package: r-downlit (#33167)

This commit is contained in:
Glenn Johnson 2022-10-10 18:24:13 -05:00 committed by GitHub
parent dc141f5ad6
commit a05a34361a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))