From 042050be115b64f0d6f35349b1e342eb2e55c1d6 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Mon, 10 Oct 2022 19:33:58 -0500 Subject: new package: r-pkgdown (#33170) --- .../repos/builtin/packages/r-pkgdown/package.py | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-pkgdown/package.py diff --git a/var/spack/repos/builtin/packages/r-pkgdown/package.py b/var/spack/repos/builtin/packages/r-pkgdown/package.py new file mode 100644 index 0000000000..187b6ae281 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-pkgdown/package.py @@ -0,0 +1,41 @@ +# 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 RPkgdown(RPackage): + """Make Static HTML Documentation for a Package. + + Generate an attractive and useful website from a source package. 'pkgdown' + converts your documentation, vignettes, 'README', and more to 'HTML' making + it easy to share information about your package online.""" + + cran = "pkgdown" + + version("2.0.6", sha256="d29a65c8a5b189fd89842e769f58f8c2369a55406269eabfb66d41d0fe1c7f69") + + depends_on("r@3.1.0:", type=("build", "run")) + depends_on("r-bslib@0.3.1:", type=("build", "run")) + depends_on("r-callr@2.0.2:", type=("build", "run")) + depends_on("r-cli", type=("build", "run")) + depends_on("r-desc", type=("build", "run")) + depends_on("r-digest", type=("build", "run")) + depends_on("r-downlit@0.4.0:", type=("build", "run")) + depends_on("r-fs@1.4.0:", type=("build", "run")) + depends_on("r-httr@1.4.2:", type=("build", "run")) + depends_on("r-jsonlite", type=("build", "run")) + depends_on("r-magrittr", type=("build", "run")) + depends_on("r-memoise", type=("build", "run")) + depends_on("r-purrr", type=("build", "run")) + depends_on("r-ragg", type=("build", "run")) + depends_on("r-rlang@1.0.0:", type=("build", "run")) + depends_on("r-rmarkdown@1.1.9007:", type=("build", "run")) + depends_on("r-tibble", type=("build", "run")) + depends_on("r-whisker", type=("build", "run")) + depends_on("r-withr@2.4.3:", type=("build", "run")) + depends_on("r-xml2@1.3.1:", type=("build", "run")) + depends_on("r-yaml", type=("build", "run")) + depends_on("pandoc") -- cgit v1.2.3-60-g2f50