# 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 RSuppdists(RPackage):
    """Ten distributions supplementing those built into R. Inverse Gauss,
    Kruskal-Wallis, Kendall's Tau, Friedman's chi squared, Spearman's rho,
    maximum F ratio, the Pearson product moment correlation coefficient,
    Johnson distributions, normal scores and generalized hypergeometric
    distributions."""

    homepage = "https://cloud.r-project.org/package=SuppDists"
    url      = "https://cloud.r-project.org/src/contrib/SuppDists_1.1-9.5.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/SuppDists"

    version('1.1-9.5', sha256='680b67145c07d44e200275e08e48602fe19cd99fb106c05422b3f4a244c071c4')

    depends_on('r@3.3.0:', type=('build', 'run'))
