From c10944e8fdda844df23204615f598ca3f45b3c2f Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Tue, 20 Apr 2021 04:36:48 -0500 Subject: r-bayesplot: new package (#23091) --- .../repos/builtin/packages/r-bayesplot/package.py | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-bayesplot/package.py diff --git a/var/spack/repos/builtin/packages/r-bayesplot/package.py b/var/spack/repos/builtin/packages/r-bayesplot/package.py new file mode 100644 index 0000000000..1bc82a2a83 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-bayesplot/package.py @@ -0,0 +1,34 @@ +# 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 RBayesplot(RPackage): + """Plotting for Bayesian Models: + + Plotting functions for posterior analysis, MCMC diagnostics, prior and + posterior predictive checks, and other visualizations to support the + applied Bayesian workflow advocated in Gabry, Simpson, Vehtari, Betancourt, + and Gelman (2019) . The package is designed not + only to provide convenient functionality for users, but also a common set + of functions that can be easily used by developers working on a variety of + R packages for Bayesian modeling, particularly (but not exclusively) + packages interfacing with 'Stan'.""" + + homepage = "https://mc-stan.org/bayesplot/" + cran = "bayesplot" + + version('1.8.0', sha256='a605f9929e681593a3ef3ca9c836e713314994aaea00f359f71cfc42d151c948') + + depends_on('r@3.1.0:', type=('build', 'run')) + depends_on('r-dplyr@0.8.0:', type=('build', 'run')) + depends_on('r-ggplot2@3.0.0:', type=('build', 'run')) + depends_on('r-ggridges', type=('build', 'run')) + depends_on('r-glue', type=('build', 'run')) + depends_on('r-reshape2', type=('build', 'run')) + depends_on('r-rlang@0.3.0:', type=('build', 'run')) + depends_on('r-tibble', type=('build', 'run')) + depends_on('r-tidyselect', type=('build', 'run')) -- cgit v1.2.3-70-g09d2