48 lines
2.5 KiB
Python
48 lines
2.5 KiB
Python
# 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 RGgpubr(RPackage):
|
|
"""'ggplot2' Based Publication Ready Plots
|
|
|
|
The 'ggplot2' package is excellent and flexible for elegant data
|
|
visualization in R. However the default generated plots requires some
|
|
formatting before we can send them for publication. Furthermore, to
|
|
customize a 'ggplot', the syntax is opaque and this raises the level of
|
|
difficulty for researchers with no advanced R programming skills. 'ggpubr'
|
|
provides some easy-to-use functions for creating and customizing 'ggplot2'-
|
|
based publication ready plots."""
|
|
|
|
homepage = "http://www.sthda.com/english/rpkgs/ggpubr"
|
|
url = "https://cloud.r-project.org/src/contrib/ggpubr_0.1.2.tar.gz"
|
|
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggpubr"
|
|
|
|
version('0.4.0', sha256='abb21ec0b1ae3fa1c58eedca2d59b9b009621b30e3660f1247b3880c5fa50675')
|
|
version('0.2.2', sha256='1c93dc6d1f08680dd00a10b6842445700d1fccb11f18599fbdf51e70c6b6b364')
|
|
version('0.2.1', sha256='611e650da9bd15d7157fdcdc4e926fee3b88df3aba87410fdb1c8a7294d98d28')
|
|
version('0.2', sha256='06c3075d8c452840662f5d041c3d966494b87254a52a858c849b9e1e96647766')
|
|
version('0.1.2', sha256='9b4749fe1a6e0e4c5201a587c57c1b4bed34253f95ab4fb365f7e892b86003fe')
|
|
|
|
depends_on('r@3.1.0:', type=('build', 'run'))
|
|
depends_on('r-ggplot2', type=('build', 'run'))
|
|
depends_on('r-ggrepel', type=('build', 'run'))
|
|
depends_on('r-ggsci', type=('build', 'run'))
|
|
depends_on('r-tidyr', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-plyr', when='@:0.1.2', type=('build', 'run'))
|
|
depends_on('r-purrr', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-dplyr@0.7.1:', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-cowplot', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-ggsignif', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-scales', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-gridextra', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-glue', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-polynom', when='@0.2:', type=('build', 'run'))
|
|
depends_on('r-rlang', when='@0.2.2:', type=('build', 'run'))
|
|
depends_on('r-rstatix@0.6.0:', when='@0.4.0:', type=('build', 'run'))
|
|
depends_on('r-tibble', when='@0.4.0:', type=('build', 'run'))
|
|
depends_on('r-magrittr', type=('build', 'run'))
|