summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-biomformat/package.py
blob: d71f420e1449863a3e9b5cc1cf43bf871fdf923c (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
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2013-2022 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 RBiomformat(RPackage):
    """An interface package for the BIOM file format.

       This is an R package for interfacing with the BIOM format. This package
       includes basic tools for reading biom-format files, accessing and
       subsetting data tables from a biom object (which is more complex than a
       single table), as well as limited support for writing a biom-object back
       to a biom-format file. The design of this API is intended to match the
       python API and other tools included with the biom-format project, but
       with a decidedly "R flavor" that should be familiar to R users. This
       includes S4 classes and methods, as well as extensions of common core
       functions/methods."""

    bioc = "biomformat"

    version('1.22.0', commit='ab7c6411a038fec010baa72e663f362fd972cb34')
    version('1.18.0', commit='dc18859c139f4d76805adb6f01e199573cdd5a8b')
    version('1.12.0', commit='6e946123bb59da262cbb0c17dc5ab49328a89d4a')
    version('1.10.1', commit='e67c6f4b70201f748fa49a4938e1af0cd0613f09')
    version('1.8.0', commit='acd207377b24e4d8310eaff06c16dcfe6c04509a')
    version('1.6.0', commit='61fb8c7b34ad561c3c46cacc0dd1957be56da85e')
    version('1.4.0', commit='83b4b1883bc56ea93a0a6ca90fc1b18712ef0f1a')

    depends_on('r@3.2:', type=('build', 'run'))
    depends_on('r-plyr@1.8:', type=('build', 'run'))
    depends_on('r-jsonlite@0.9.16:', type=('build', 'run'))
    depends_on('r-matrix@1.2:', type=('build', 'run'))
    depends_on('r-rhdf5', type=('build', 'run'))