From e0c82fcf824a8c59ce277a4c69a2e5ba88b0276f Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Fri, 23 Apr 2021 16:29:06 -0500 Subject: New package: r-shinystan (#23223) --- .../repos/builtin/packages/r-shinystan/package.py | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-shinystan/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/r-shinystan/package.py b/var/spack/repos/builtin/packages/r-shinystan/package.py new file mode 100644 index 0000000000..90fec54a4e --- /dev/null +++ b/var/spack/repos/builtin/packages/r-shinystan/package.py @@ -0,0 +1,42 @@ +# 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 RShinystan(RPackage): + """Interactive Visual and Numerical Diagnostics and Posterior Analysis for + Bayesian Models: + + A graphical user interface for interactive Markov chain Monte Carlo (MCMC) + diagnostics and plots and tables helpful for analyzing a posterior sample. + The interface is powered by the 'Shiny' web application framework from + 'RStudio' and works with the output of MCMC programs written in any + programming language (and has extended functionality for 'Stan' models fit + using the 'rstan' and 'rstanarm' packages).""" + + homepage = "http://mc-stan.org/" + cran = "shinystan" + + version('2.5.0', sha256='45f9c552a31035c5de8658bb9e5d72da7ec1f88fbddb520d15fe701c677154a1') + + depends_on('r@3.1.0:', type=('build', 'run')) + depends_on('r-shiny@1.0.3:', type=('build', 'run')) + depends_on('r-bayesplot@1.5.0:', type=('build', 'run')) + depends_on('r-colourpicker', type=('build', 'run')) + depends_on('r-dt@0.2:', type=('build', 'run')) + depends_on('r-dygraphs@1.1.1.2:', type=('build', 'run')) + depends_on('r-ggplot2@2.1.1:', type=('build', 'run')) + depends_on('r-gridextra', type=('build', 'run')) + depends_on('r-gtools', type=('build', 'run')) + depends_on('r-markdown@0.7.4:', type=('build', 'run')) + depends_on('r-reshape2', type=('build', 'run')) + depends_on('r-rsconnect@0.4.2:', type=('build', 'run')) + depends_on('r-rstan@2.17.1:', type=('build', 'run')) + depends_on('r-shinyjs@0.6.0:', type=('build', 'run')) + depends_on('r-shinythemes@1.0.1:', type=('build', 'run')) + depends_on('r-threejs@0.2.1:', type=('build', 'run')) + depends_on('r-xtable', type=('build', 'run')) + depends_on('r-xts@0.9-7:', type=('build', 'run')) -- cgit v1.2.3-70-g09d2