From 38199ce9cfb69b21e45e679d3a6604a72da7cc5b Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sat, 16 Jan 2021 08:25:30 -0600 Subject: [PATCH] add version 0.5.0 to r-forcats (#20972) --- .../repos/builtin/packages/r-forcats/package.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/var/spack/repos/builtin/packages/r-forcats/package.py b/var/spack/repos/builtin/packages/r-forcats/package.py index 13f2d94a5d..f4fdea8b4e 100644 --- a/var/spack/repos/builtin/packages/r-forcats/package.py +++ b/var/spack/repos/builtin/packages/r-forcats/package.py @@ -7,21 +7,25 @@ class RForcats(RPackage): - """Helpers for reordering factor levels (including moving specified levels - to front, ordering by first appearance, reversing, and randomly - shuffling), and tools for modifying factor levels (including collapsing - rare levels into other, 'anonymising', and manually 'recoding').""" + """Tools for Working with Categorical Variables (Factors) + + Helpers for reordering factor levels (including moving specified levels to + front, ordering by first appearance, reversing, and randomly shuffling), + and tools for modifying factor levels (including collapsing rare levels + into other, 'anonymising', and manually 'recoding').""" homepage = "http://forcats.tidyverse.org/" url = "https://cloud.r-project.org/src/contrib/forcats_0.2.0.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/forcats" + version('0.5.0', sha256='8f960e789333ec597ddf2d653a64e330f03b86f465e9b71f6779f227355d90c4') version('0.4.0', sha256='7c83cb576aa6fe1379d7506dcc332f7560068b2025f9e3ab5cd0a5f28780d2b2') version('0.3.0', sha256='95814610ec18b8a8830eba63751954387f9d21400d6ab40394ed0ff22c0cb657') version('0.2.0', sha256='b5bce370422d4c0ec9509249ae645373949bfbe9217cdf50dce2bfbdad9f7cd7') depends_on('r@3.1:', type=('build', 'run')) - depends_on('r-tibble', type=('build', 'run')) - depends_on('r-magrittr', type=('build', 'run')) + depends_on('r@3.2:', when='@0.5.0:', type=('build', 'run')) depends_on('r-ellipsis', when='@0.4.0:', type=('build', 'run')) + depends_on('r-magrittr', type=('build', 'run')) depends_on('r-rlang', when='@0.4.0:', type=('build', 'run')) + depends_on('r-tibble', type=('build', 'run'))