r-loo: new package at 2.1.0 (#11448)

This commit is contained in:
Justin S 2019-05-14 16:22:29 -05:00 committed by Levi Baber
parent 92040a475f
commit fc890c80fb

View File

@ -0,0 +1,21 @@
# Copyright 2013-2019 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 RLoo(RPackage):
"""loo: Efficient Leave-One-Out Cross-Validation and WAIC for
BayesianModels"""
homepage = "https://mc-stan.org/loo"
url = "https://cran.r-project.org/src/contrib/loo_2.1.0.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/loo"
version('2.1.0', sha256='1bf4a1ef85d151577ff96d4cf2a29c9ef24370b0b1eb08c70dcf45884350e87d')
depends_on('r@3.1.2:', type=('build', 'run'))
depends_on('r-checkmate', type=('build', 'run'))
depends_on('r-matrixstats@0.52:', type=('build', 'run'))