(math/R-forcats) Updated 0.5.1 to 1.0.0 # forcats 1.0.0 ## New features * New `fct_na_value_to_level()` and `fct_na_level_to_value()` to convert NA values to NA levels and vice versa (#337). ## Minor improvement and bug fixes * All functions now validate their inputs, giving more useful errors if you accidentally misspecify an input. * `fct_collapse()` can now use `other_level = NA` (#291). * `fct_count()` works with factors that contain `NA`s in levels. * `fct_explicit_na()` is deprecated in favour of `fct_na_value_to_level()`. * `fct_expand()` gains an `after` argument so that you can choose where the new levels are placed (#138). * `fct_infreq()` gains the ability to weight by another variable using the `w` argument (#261). * `fct_inorder()` now works when not all levels appear in the data (#262). * `fct_lump_prop()` and friends now work correctly if you supply weights and have empty levels (#292). * `fct_lump_n()` and `fct_lump_prop()` will now create an "Other" level even if it only consists of a single level. This makes them consistent with the other `fct_lump_*` functions (#274). * `fct_other()` no longer generates a warning if no levels are replaced with other (#265). * `fct_relevel()`, `fct_cross()`, and `fct_expand()` now error if you name the arguments in `...` since those names are ignored and your code probably doesn't do what you think it does (#319). * `fct_reorder()` and `fct_reorder2()` now remove `NA` values in `.x` with a warning (like `ggplot2::geom_point()` and friends). You can suppress the warning by setting `.na_rm = TRUE` (#315). * `fct_reorder()` and `fct_reorder2()` gain a new `.default` argument that controls the placement of empty levels (including levels that might become empty after removing missing values in `.x`) (#266). * `fct_unique()` now captures implicit missing values if present (#293). # forcats 0.5.2 * New `fct()` which works like `factor()` but errors if values of `x` are not included in the levels specification (#299) * `first2()` and `last2()` now ignore missing values in both `x` and `y` (#303). * Error messages are more informative.diff -r1.3 -r1.4 pkgsrc/math/R-forcats/Makefile
(mef)
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2021/06/06 13:45:50 mef Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2023/06/11 23:00:18 mef Exp $ | |
2 | 2 | |||
3 | R_PKGNAME= forcats | 3 | R_PKGNAME= forcats | |
4 | R_PKGVER= 0.5.1 | 4 | R_PKGVER= 1.0.0 | |
5 | CATEGORIES= math | |||
6 | 5 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 6 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | COMMENT= Tools for working with categorical variables (factors) | 7 | COMMENT= Tools for working with categorical variables (factors) | |
9 | LICENSE= gnu-gpl-v3 | 8 | LICENSE= gnu-gpl-v3 | |
10 | 9 | |||
11 | DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr | 10 | DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr | |
12 | DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang | 11 | DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang | |
13 | DEPENDS+= R-ellipsis>=0.2.0.1:../../math/R-ellipsis | 12 | DEPENDS+= R-ellipsis>=0.2.0.1:../../math/R-ellipsis | |
14 | DEPENDS+= R-tibble>=2.1.3:../../math/R-tibble | 13 | DEPENDS+= R-tibble>=2.1.3:../../math/R-tibble | |
15 | 14 | |||
16 | USE_LANGUAGES= # none | 15 | USE_LANGUAGES= # none | |
17 | 16 | |||
18 | .include "../../math/R/Makefile.extension" | 17 | .include "../../math/R/Makefile.extension" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2021/10/26 10:55:26 nia Exp $ | 1 | $NetBSD: distinfo,v 1.5 2023/06/11 23:00:18 mef Exp $ | |
2 | 2 | |||
3 | BLAKE2s (R/forcats_0.5.1.tar.gz) = a53e23e131cac957722ee0440437af76a4d5fe0c404e06c516734cc97c916008 | 3 | BLAKE2s (R/forcats_1.0.0.tar.gz) = 2e0cf5b59c218196ba4e9cb07a6ba8b0cdde54c4bc05a3963035c4ce477795b1 | |
4 | SHA512 (R/forcats_0.5.1.tar.gz) = 44b3e90e764afe4a2a7339e72a8c01c053ba972611a194d7d278a4bb7c4959b0a514a0ac1f2c41a82219060e699e961b079c1edceac52fa1d42e53e7c2d15b97 | 4 | SHA512 (R/forcats_1.0.0.tar.gz) = 1a55c0694658d8b60809e5465f22791c2d1b6c9d8e9f85d625c347ae708bf32f911a17d0f10114b0fbb81c651aedf0b4da7ef0c38a499a4ffe429f0be8c3f8cb | |
5 | Size (R/forcats_0.5.1.tar.gz) = 258301 bytes | 5 | Size (R/forcats_1.0.0.tar.gz) = 294183 bytes |