# 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 RDiptest(RPackage):
    """diptest: Hartigan's Dip Test Statistic for Unimodality - Corrected"""

    homepage = "https://cloud.r-project.org/package=diptest"
    url      = "https://cloud.r-project.org/src/contrib/diptest_0.75-7.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/diptest"

    version('0.75-7', sha256='462900100ca598ef21dbe566bf1ab2ce7c49cdeab6b7a600a50489b05f61b61b')
