summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-prettydoc/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-prettydoc/package.py b/var/spack/repos/builtin/packages/r-prettydoc/package.py
new file mode 100644
index 0000000000..ade056fc5b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-prettydoc/package.py
@@ -0,0 +1,23 @@
+# 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 RPrettydoc(RPackage):
+ """Creating Pretty Documents from R Markdown:
+
+ Creating tiny yet beautiful documents and vignettes from R Markdown. The
+ package provides the 'html_pretty' output format as an alternative to the
+ 'html_document' and 'html_vignette' engines that convert R Markdown into
+ HTML pages. Various themes and syntax highlight styles are supported."""
+
+ homepage = "https://github.com/yixuan/prettydoc"
+ cran = "prettydoc"
+
+ version('0.4.1', sha256='1094a69b026238d149435472b4f41c75151c7370a1be6c6332147c88ad4c4829')
+
+ depends_on('r-markdown@1.17:', type=('build', 'run'))
+ depends_on('pandoc@1.12.3:', type='build')