summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-downlit/package.py31
1 files changed, 31 insertions, 0 deletions
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"))