diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2021-04-20 13:17:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 11:17:49 -0700 |
commit | afd69866d11dbfc59134fad0bc3e67786412c003 (patch) | |
tree | 8683ca5d85f021f8a688d5b5ba2d1f688fa52c20 /var | |
parent | 25a9a40a12f7476edd81ef0939a40336645c1c46 (diff) | |
download | spack-afd69866d11dbfc59134fad0bc3e67786412c003.tar.gz spack-afd69866d11dbfc59134fad0bc3e67786412c003.tar.bz2 spack-afd69866d11dbfc59134fad0bc3e67786412c003.tar.xz spack-afd69866d11dbfc59134fad0bc3e67786412c003.zip |
New package: r-mcmcpack (#23139)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/r-mcmcpack/package.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-mcmcpack/package.py b/var/spack/repos/builtin/packages/r-mcmcpack/package.py new file mode 100644 index 0000000000..08377fdcd5 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-mcmcpack/package.py @@ -0,0 +1,30 @@ +# 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 RMcmcpack(RPackage): + """Markov Chain Monte Carlo (MCMC) Package: + + Contains functions to perform Bayesian inference using posterior simulation + for a number of statistical models. Most simulation is done in compiled C++ + written in the Scythe Statistical Library Version 1.0.3. All models return + 'coda' mcmc objects that can then be summarized using the 'coda' package. + Some useful utility functions such as density functions, pseudo-random + number generators for statistical distributions, a general purpose + Metropolis sampling algorithm, and tools for visualization are provided.""" + + homepage = "https://cran.r-project.org/package=MCMCpack" + cran = "MCMCpack" + + version('1.5-0', sha256='795ffd3d62bf14d3ecb3f5307bd329cd75798cf4b270ff0e768bc71a35de0ace') + + depends_on('r@3.6:', type=('build', 'run')) + depends_on('r-coda@0.11-3:', type=('build', 'run')) + depends_on('r-mass', type=('build', 'run')) + depends_on('r-lattice', type=('build', 'run')) + depends_on('r-mcmc', type=('build', 'run')) + depends_on('r-quantreg', type=('build', 'run')) |