summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-loo/package.py
blob: 9bbef0ee79b98fec8cc2e53a092bcf9ad734b7d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2020 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://cloud.r-project.org/src/contrib/loo_2.1.0.tar.gz"
    list_url = "https://cloud.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'))
    depends_on('pandoc@1.12.3:')