From eea1187311f200eb108aa213bb0fe31f0c02192b Mon Sep 17 00:00:00 2001 From: etiennebacher Date: Tue, 7 Jan 2025 11:58:31 +0100 Subject: [PATCH] add missing PR numbers in NEWS --- NEWS.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/NEWS.md b/NEWS.md index cade245b6..e962fc888 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,7 +5,7 @@ BREAKING CHANGES AND DEPRECATIONS * *datawizard* now requires R >= 4.0 (#515). * Argument `drop_na` in `data_match()` is deprecated now. Please use - `remove_na` instead. + `remove_na` instead (#556). * In `data_rename()` (#567): - argument `pattern` is deprecated. Use `select` instead. @@ -17,39 +17,40 @@ BREAKING CHANGES AND DEPRECATIONS must be named, e.g. `c(length = "Sepal.Length", "Sepal.Width")` errors. * Order of arguments `by` and `probability_weights` in `rescale_weights()` has - changed, because for `method = "kish"`, the `by` argument is optional. + changed, because for `method = "kish"`, the `by` argument is optional (#575). * The name of the rescaled weights variables in `rescale_weights()` have been renamed. `pweights_a` and `pweights_b` are now named `rescaled_weights_a` - and `rescaled_weights_b`. + and `rescaled_weights_b` (#575). * `print()` methods for `data_tabulate()` with multiple sub-tables (i.e. when length of `by` was > 1) were revised. Now, an integrated table instead of multiple tables is returned. Furthermore, `print_html()` did not work, which - was also fixed now. + was also fixed now (#577). * `demean()` (and `degroup()`) gets an `append` argument that defaults to `TRUE`, to append the centered variables to the original data frame, instead of returning the de- and group-meaned variables only. Use `append = FALSE` to for the previous default behaviour (i.e. only returning the newly created - variables). + variables) (#579). CHANGES * `rescale_weights()` gets a `method` argument, to choose method to rescale - weights. Options are `"carle"` (the default) and `"kish"`. + weights. Options are `"carle"` (the default) and `"kish"` (#575). * The `select` argument, which is available in different functions to select variables, can now also be a character vector with quoted variable names, - including a colon to indicate a range of several variables (e.g. `"cyl:gear"`). + including a colon to indicate a range of several variables (e.g. `"cyl:gear"`) + (#551). * New function `row_sums()`, to calculate row sums (optionally with minimum - amount of valid values), as complement to `row_means()`. + amount of valid values), as complement to `row_means()` (#552). -* New function `row_count()`, to count specific values row-wise. +* New function `row_count()`, to count specific values row-wise (#553). * `data_read()` no longer shows warning about forthcoming breaking changes - in upstream packages when reading `.RData` files. + in upstream packages when reading `.RData` files (#557). * `data_modify()` now recognizes `n()`, for example to create an index for data groups with `1:n()` (#535).