summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-01-17 11:21:33 -0600
committerGitHub <noreply@github.com>2021-01-17 11:21:33 -0600
commit505dc3c0cf86f681c495ca3ada6aa25e69289d67 (patch)
tree60c624bac4b80c739252cc8c2a49d095844aaa37
parentef9a0ed08d3970948a84d615ab96937f61549d29 (diff)
downloadspack-505dc3c0cf86f681c495ca3ada6aa25e69289d67.tar.gz
spack-505dc3c0cf86f681c495ca3ada6aa25e69289d67.tar.bz2
spack-505dc3c0cf86f681c495ca3ada6aa25e69289d67.tar.xz
spack-505dc3c0cf86f681c495ca3ada6aa25e69289d67.zip
new package: r-mathjaxr (#21096)
Provides 'MathJax' and macros to enable its use within Rd files for rendering equations in the HTML help files.
-rw-r--r--var/spack/repos/builtin/packages/r-mathjaxr/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-mathjaxr/package.py b/var/spack/repos/builtin/packages/r-mathjaxr/package.py
new file mode 100644
index 0000000000..455a3ef32c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-mathjaxr/package.py
@@ -0,0 +1,19 @@
+# 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 RMathjaxr(RPackage):
+ """Using 'Mathjax' in Rd Files
+
+ Provides 'MathJax' and macros to enable its use within Rd files for
+ rendering equations in the HTML help files."""
+
+ homepage = "https://github.com/wviechtb/mathjaxr"
+ url = "https://cloud.r-project.org/src/contrib/mathjaxr_1.0-1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/mathjaxr"
+
+ version('1.0-1', sha256='0d3d370c4d0c7c7c6d5541d4e0ae50170b4084ca8a66e8a43bd92c7d1c112148')