pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/R-dplyr (math/R-dplyr) Updated 1.0.0 to 1.0.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/510a075c2676
branches:  trunk
changeset: 454515:510a075c2676
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Jun 12 22:36:14 2021 +0000

description:
(math/R-dplyr) Updated 1.0.0 to 1.0.6

# dplyr 1.0.6

* `add_count()` is now generic (#5837).

* `if_any()` and `if_all()` abort when a predicate is mistakingly used
  as `.cols=` (#5732).

* Multiple calls to `if_any()` and/or `if_all()` in the same
  expression are now properly disambiguated (#5782).

* `filter()` now inlines `if_any()` and `if_all()` expressions. This
  greatly improves performance with grouped data frames.

* Fixed behaviour of `...` in top-level `across()` calls (#5813, #5832).

* `across()` now inlines lambda-formulas. This is slightly more performant and
  will allow more optimisations in the future.

* Fixed issue in `bind_rows()` causing lists to be incorrectly transformed as
  data frames (#5417, #5749).

* `select()` no longer creates duplicate variables when renaming a variable
  to the same name as a grouping variable (#5841).

* `dplyr_col_select()` keeps attributes for bare data frames (#5294, #5831).

* Fixed quosure handling in `dplyr::group_by()` that caused issues with extra
  arguments (tidyverse/lubridate#959).

* Removed the `name` argument from the `compute()` generic (@ianmcook, #5783).

* row-wise data frames of 0 rows and list columns are supported again (#5804).

# dplyr 1.0.5

* Fixed edge case of `slice_sample()` when `weight_by=` is used and there
  0 rows (#5729).

* `across()` can again use columns in functions defined inline (#5734).

* Using testthat 3rd edition.

* Fixed bugs introduced in `across()` in previous version (#5765).

* `group_by()` keeps attributes unrelated to the grouping (#5760).

* The `.cols=` argument of `if_any()` and `if_all()` defaults to `everything()`.

# dplyr 1.0.4

* Improved performance for `across()`. This makes `summarise(across())` and
  `mutate(across())` perform as well as the superseded colwise equivalents (#5697).

* New functions `if_any()` and `if_all()` (#4770, #5713).

* `summarise()` silently ignores NULL results (#5708).

* Fixed a performance regression in `mutate()` when warnings occur once per
  group (#5675). We no longer instrument warnings with debugging information
  when `mutate()` is called within `suppressWarnings()`.

# dplyr 1.0.3

* `summarise()` no longer informs when the result is ungrouped (#5633).

* `group_by(.drop = FALSE)` preserves ordered factors (@brianrice2, #5545).

* `count()` and `tally()` are now generic.

* Removed default fallbacks to lazyeval methods; this will yield
  better error messages when you call a dplyr function with the wrong
  input, and is part of our long term plan to remove the deprecated
  lazyeval interface.

* `inner_join()` gains a `keep` parameter for consistency with the other
  mutating joins (@patrickbarks, #5581).

* Improved performance with many columns, with a dynamic data mask using active
  bindings and lazy chops (#5017).

* `mutate()` and friends preserves row names in data frames once more (#5418).

* `group_by()` uses the ungrouped data for the implicit mutate step (#5598).
  You might have to define an `ungroup()` method for custom classes.
  For example, see https://github.com/hadley/cubelyr/pull/3.

* `relocate()` can rename columns it relocates (#5569).

* `distinct()` and `group_by()` have better error messages when the
  mutate step fails (#5060).

* Clarify that `between()` is not vectorised (#5493).

* Fixed `across()` issue where data frame columns would could not be referred to
  with `all_of()` in the nested case (`mutate()` within `mutate()`) (#5498).

* `across()` handles data frames with 0 columns (#5523).

* `mutate()` always keeps grouping variables, unconditional to `.keep=` (#5582).

* dplyr now depends on R 3.3.0


# dplyr 1.0.2

* Fixed `across()` issue where data frame columns would mask objects referred to
  from `all_of()` (#5460).

* `bind_cols()` gains a `.name_repair` argument, passed to
  `vctrs::vec_cbind()` (#5451)

* `summarise(.groups = "rowwise")` makes a rowwise data frame even if
  the input data is not grouped (#5422).

# dplyr 1.0.1

* New function `cur_data_all()` similar to `cur_data()` but includes
  the grouping variables (#5342).

* `count()` and `tally()` no longer automatically weights by column `n` if
  present (#5298). dplyr 1.0.0 introduced this behaviour because of Hadley's
  faulty memory. Historically `tally()` automatically weighted and `count()`
  did not, but this behaviour was accidentally changed in 0.8.2 (#4408) so that
  neither automatically weighted by `n`. Since 0.8.2 is almost a year old,
  and the automatically weighting behaviour was a little confusing anyway,
  we've removed it from both `count()` and `tally()`.

    Use of `wt = n()` is now deprecated; now just omit the `wt` argument.

* `coalesce()` now supports data frames correctly (#5326).

* `cummean()` no longer has off-by-one indexing problem (@cropgen, #5287).

* The call stack is preserved on error. This makes it possible to `recover()`
  into problematic code called from dplyr verbs (#5308).

diffstat:

 math/R-dplyr/Makefile |  12 ++++++++++--
 math/R-dplyr/distinfo |  10 +++++-----
 2 files changed, 15 insertions(+), 7 deletions(-)

diffs (43 lines):

diff -r 8807f68d4d2a -r 510a075c2676 math/R-dplyr/Makefile
--- a/math/R-dplyr/Makefile     Sat Jun 12 22:01:53 2021 +0000
+++ b/math/R-dplyr/Makefile     Sat Jun 12 22:36:14 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2020/07/31 20:44:49 brook Exp $
+# $NetBSD: Makefile,v 1.4 2021/06/12 22:36:14 mef Exp $
 
 R_PKGNAME=     dplyr
-R_PKGVER=      1.0.0
+R_PKGVER=      1.0.6
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Grammar of data manipulation
@@ -21,6 +21,14 @@
 DEPENDS+=      R-tibble>=2.1.3:../../math/R-tibble
 DEPENDS+=      R-vctrs>=0.3.0:../../math/R-vctrs
 
+# Packages suggested but not available:
+#   'bench', 'broom', 'dbplyr', 'Lahman', 'lobstr', 'microbenchmark',
+#   'nycflights13', 'RMySQL', 'RPostgreSQL', 'RSQLite', 'tidyr'
+TEST_DEPENDS+= R-RSQLite-[0-9]*:../../databases/R-RSQLite
+TEST_DEPENDS+= R-dplyr-[0-9]*:../../math/R-dplyr
+TEST_DEPENDS+= R-microbenchmark-[0-9]*:../../benchmarks/R-microbenchmark
+TEST_DEPENDS+= R-tidyr-[0-9]*:../../math/R-tidyr
+
 USE_LANGUAGES= c c++
 
 .include "../../math/R/Makefile.extension"
diff -r 8807f68d4d2a -r 510a075c2676 math/R-dplyr/distinfo
--- a/math/R-dplyr/distinfo     Sat Jun 12 22:01:53 2021 +0000
+++ b/math/R-dplyr/distinfo     Sat Jun 12 22:36:14 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/07/31 20:44:49 brook Exp $
+$NetBSD: distinfo,v 1.3 2021/06/12 22:36:14 mef Exp $
 
-SHA1 (R/dplyr_1.0.0.tar.gz) = 0df596b6320af07815a948d27aa830ee80b0483f
-RMD160 (R/dplyr_1.0.0.tar.gz) = 60c81fb32a749a67c3c93980b3a23d9877fddef8
-SHA512 (R/dplyr_1.0.0.tar.gz) = af69a47d2c39ea101f35aeb652057d649c29636dcab70c51222f91646d24ca4159b8eca2ed061b845fce56a45c1d9902b9f6b605c603580b0c5bf36fa2443f95
-Size (R/dplyr_1.0.0.tar.gz) = 836651 bytes
+SHA1 (R/dplyr_1.0.6.tar.gz) = 6bb9c20041ad35d346f7d7966206789815f1da02
+RMD160 (R/dplyr_1.0.6.tar.gz) = d44187ab611255edd2b4e475e0001ad50c75099d
+SHA512 (R/dplyr_1.0.6.tar.gz) = e09f5c3b5e215926f7c96eeb705e79db73eae147f557c386bc18e47f0407bac4c1c795c842aa1e152707ae3f2d7de21f8e9984ea9fc9a59addb1cb04a6f65d89
+Size (R/dplyr_1.0.6.tar.gz) = 954401 bytes



Home | Main Index | Thread Index | Old Index