# 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 RRots(RPackage):
    """Reproducibility-Optimized Test Statistic.

       Calculates the Reproducibility-Optimized Test Statistic (ROTS) for
       differential testing in omics data."""

    bioc = "ROTS"

    version('1.22.0', commit='a53ec77c40ed3b3c84e91d794c1602dd509cad83')
    version('1.18.0', commit='1d4e206a8ce68d5a1417ff51c26174ed9d0ba7d2')
    version('1.12.0', commit='7e2c96fd8fd36710321498745f24cc6b59ac02f0')
    version('1.10.1', commit='1733d3f868cef4d81af6edfc102221d80793937b')
    version('1.8.0', commit='02e3c6455bb1afe7c4cc59ad6d4d8bae7b01428b')
    version('1.6.0', commit='3567ac1142ba97770b701ee8e5f9e3e6c781bd56')
    version('1.4.0', commit='2e656514a4bf5a837ee6e14ce9b28a61dab955e7')

    depends_on('r@3.3:', type=('build', 'run'))
    depends_on('r-rcpp', type=('build', 'run'))
    depends_on('r-biobase', type=('build', 'run'))
