summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-xlsx/package.py
blob: 31983696f1cfaef123a9a74641e7790419e0a480 (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
24
# 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 RXlsx(RPackage):
    """Read, Write, Format Excel 2007 and Excel 97/2000/XP/2003 Files

    Provide R functions to read/write/format Excel 2007 and Excel
    97/2000/XP/2003 file formats."""

    homepage = "https://github.com/colearendt/xlsx"
    url      = "https://cloud.r-project.org/src/contrib/xlsx_0.6.1.tar.gz"
    listurl  = "https://cloud.r-project.org/src/contrib/Archive/xlsx"

    version('0.6.5', sha256='378c5ed475a3d7631ea1ea13e0a69d619c1a52260922abda42818752dbb32107')
    version('0.6.1', sha256='a580bd16b5477c1c185bf681c12c1ffff4088089f97b6a37997913d93ec5a8b4')

    depends_on('r-rjava', type=('build', 'run'))
    depends_on('r-xlsxjars', type=('build', 'run'))
    depends_on('java@6:')