r-prettydoc: new package (#23109)

This commit is contained in:
Glenn Johnson 2021-04-20 04:19:35 -05:00 committed by GitHub
parent de004857ff
commit c655e76109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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