summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-haven/package.py
blob: dab9e486b5a5b50e9471050c0c5b66be6d0243f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2018 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 RHaven(RPackage):
    """Import foreign statistical formats into R via the embedded 'ReadStat' C
       library, <https://github.com/WizardMac/ReadStat>."""

    homepage = "http://haven.tidyverse.org/"
    url      = "https://cran.r-project.org/src/contrib/haven_1.1.0.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/haven"

    version('1.1.0', '8edd4b7683f8c36b5bb68582ac1b8733')

    depends_on('r-rcpp', type=('build', 'run'))
    depends_on('r-readr', type=('build', 'run'))
    depends_on('r-hms', type=('build', 'run'))
    depends_on('r-tibble', type=('build', 'run'))
    depends_on('r-forcats', type=('build', 'run'))