summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-npsurv/package.py
blob: 6ef60c6345bb46f4e97ee899f9e3e0f04d1a42c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 RNpsurv(RPackage):
    """Contains functions for non-parametric survival analysis of exact and
    interval-censored observations."""

    homepage = "https://www.stat.auckland.ac.nz/~yongwang"
    url      = "https://cloud.r-project.org/src/contrib/npsurv_0.4-0.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/npsurv"

    version('0.4-0', sha256='404cf7135dc40a04e9b81224a543307057a8278e11109ba1fcaa28e87c6204f3')

    depends_on('r-lsei', type=('build', 'run'))