From 505dc3c0cf86f681c495ca3ada6aa25e69289d67 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sun, 17 Jan 2021 11:21:33 -0600 Subject: [PATCH] new package: r-mathjaxr (#21096) Provides 'MathJax' and macros to enable its use within Rd files for rendering equations in the HTML help files. --- .../builtin/packages/r-mathjaxr/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-mathjaxr/package.py 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')