summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2022-10-10 18:24:13 -0500
committerGitHub <noreply@github.com>2022-10-10 16:24:13 -0700
commita05a34361a064bdf9a8e478ae29cb4c71ad3cc10 (patch)
tree52d6a2dca4cb9bb47746790e9c04ca3ba74c2760
parentdc141f5ad68d23339bbce38b6fd3ea9a7413f9d9 (diff)
downloadspack-a05a34361a064bdf9a8e478ae29cb4c71ad3cc10.tar.gz
spack-a05a34361a064bdf9a8e478ae29cb4c71ad3cc10.tar.bz2
spack-a05a34361a064bdf9a8e478ae29cb4c71ad3cc10.tar.xz
spack-a05a34361a064bdf9a8e478ae29cb4c71ad3cc10.zip
new package: r-downlit (#33167)
-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"))