pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/R-dplyr
Module Name: pkgsrc
Committed By: mef
Date: Fri Jun 2 12:58:09 UTC 2023
Modified Files:
pkgsrc/math/R-dplyr: Makefile distinfo
Log Message:
(math/R-dplyr) Updated 1.1.0 to 1.1.2
# dplyr 1.1.2
* `count()` better documents that it has a `.drop` argument (#6820).
* Fixed tests to maintain compatibility with the next version of waldo (#6823).
* Joins better handle key columns will all `NA`s (#6804).
# dplyr 1.1.1
* Mutating joins now warn about multiple matches much less often. At a high
level, a warning was previously being thrown when a one-to-many or
many-to-many relationship was detected between the keys of `x` and `y`, but is
now only thrown for a many-to-many relationship, which is much rarer and much
more dangerous than one-to-many because it can result in a Cartesian explosion
in the number of rows returned from the join (#6731, #6717).
We've accomplished this in two steps:
* `multiple` now defaults to `"all"`, and the options of `"error"` and
`"warning"` are now deprecated in favor of using `relationship` (see below).
We are using an accelerated deprecation process for these two options
because they've only been available for a few weeks, and `relationship` is
a clearly superior alternative.
* The mutating joins gain a new `relationship` argument, allowing you to
optionally enforce one of the following relationship constraints between the
keys of `x` and `y`: `"one-to-one"`, `"one-to-many"`, `"many-to-one"`, or
`"many-to-many"`.
For example, `"many-to-one"` enforces that each row in `x` can match at
most 1 row in `y`. If a row in `x` matches >1 rows in `y`, an error is
thrown. This option serves as the replacement for `multiple = "error"`.
The default behavior of `relationship` doesn't assume that there is any
relationship between `x` and `y`. However, for equality joins it will check
for the presence of a many-to-many relationship, and will warn if it detects
one.
This change unfortunately does mean that if you have set `multiple = "all"` to
avoid a warning and you happened to be doing a many-to-many style join, then
you will need to replace `multiple = "all"` with
`relationship = "many-to-many"` to silence the new warning, but we believe
this should be rare since many-to-many relationships are fairly uncommon.
* Fixed a major performance regression in `case_when()`. It is still a little
slower than in dplyr 1.0.10, but we plan to improve this further in the future
(#6674).
* Fixed a performance regression related to `nth()`, `first()`, and `last()`
(#6682).
* Fixed an issue where expressions involving infix operators had an abnormally
large amount of overhead (#6681).
* `group_data()` on ungrouped data frames is faster (#6736).
* `n()` is a little faster when there are many groups (#6727).
* `pick()` now returns a 1 row, 0 column tibble when `...` evaluates to an
empty selection. This makes it more compatible with [tidyverse recycling
rules](https://vctrs.r-lib.org/reference/vector_recycling_rules.html) in some
edge cases (#6685).
* `if_else()` and `case_when()` again accept logical conditions that have
attributes (#6678).
* `arrange()` can once again sort the `numeric_version` type from base R
(#6680).
* `slice_sample()` now works when the input has a column named `replace`.
`slice_min()` and `slice_max()` now work when the input has columns named
`na_rm` or `with_ties` (#6725).
* `nth()` now errors informatively if `n` is `NA` (#6682).
* Joins now throw a more informative error when `y` doesn't have the same
source as `x` (#6798).
* All major dplyr verbs now throw an informative error message if the input
data frame contains a column named `NA` or `""` (#6758).
* Deprecation warnings thrown by `filter()` now mention the correct package
where the problem originated from (#6679).
* Fixed an issue where using `<-` within a grouped `mutate()` or `summarise()`
could cross contaminate other groups (#6666).
* The compatibility vignette has been replaced with a more general vignette on
using dplyr in packages, `vignette("in-packages")` (#6702).
* The developer documentation in `?dplyr_extending` has been refreshed and
brought up to date with all changes made in 1.1.0 (#6695).
* `rename_with()` now includes an example of using `paste0(recycle0 = TRUE)` to
correctly handle empty selections (#6688).
* R >=3.5.0 is now explicitly required. This is in line with the tidyverse
policy of supporting the [5 most recent versions of
R](https://www.tidyverse.org/blog/2019/04/r-version-support/).
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/R-dplyr/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/math/R-dplyr/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/R-dplyr/Makefile
diff -u pkgsrc/math/R-dplyr/Makefile:1.8 pkgsrc/math/R-dplyr/Makefile:1.9
--- pkgsrc/math/R-dplyr/Makefile:1.8 Sun Feb 12 04:09:37 2023
+++ pkgsrc/math/R-dplyr/Makefile Fri Jun 2 12:58:09 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2023/02/12 04:09:37 mef Exp $
+# $NetBSD: Makefile,v 1.9 2023/06/02 12:58:09 mef Exp $
R_PKGNAME= dplyr
-R_PKGVER= 1.1.0
+R_PKGVER= 1.1.2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Grammar of data manipulation
@@ -10,16 +10,21 @@ LICENSE= mit
DEPENDS+= R-BH>=1.69.0.1:../../devel/R-BH
DEPENDS+= R-R6>=2.4.0:../../devel/R-R6
DEPENDS+= R-assertthat>=0.2.0:../../devel/R-assertthat
+DEPENDS+= R-cli>=3.4.0:../../devel/R-cli
+#EPENDS+= R-ellipsis>=0.3.0:../../math/R-ellipsis
+DEPENDS+= R-generics-[0-9]*:../../math/R-generics
DEPENDS+= R-glue>=1.3.2:../../devel/R-glue
-DEPENDS+= R-lifecycle>=0.2.0:../../devel/R-lifecycle
+DEPENDS+= R-lifecycle>=1.0.3:../../devel/R-lifecycle
DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr
+#EPENDS+= R-methods-[0-9]*:../../devel/R-methods
+DEPENDS+= R-pillar>=1.9.0:../../misc/R-pillar
DEPENDS+= R-pkgconfig>=2.0.2:../../devel/R-pkgconfig
-DEPENDS+= R-rlang>=0.4.6:../../devel/R-rlang
-DEPENDS+= R-tidyselect>=1.1.0:../../devel/R-tidyselect
-DEPENDS+= R-ellipsis>=0.3.0:../../math/R-ellipsis
+DEPENDS+= R-rlang>=1.1.0:../../devel/R-rlang
+DEPENDS+= R-tibble>=3.2.0:../../math/R-tibble
+DEPENDS+= R-tidyselect>=1.2.0:../../devel/R-tidyselect
+DEPENDS+= R-vctrs>=0.6.0:../../math/R-vctrs
+DEPENDS+= R-generics>=0.0.2:../../math/R-generics
DEPENDS+= R-generics>=0.0.2:../../math/R-generics
-DEPENDS+= R-tibble>=2.1.3:../../math/R-tibble
-DEPENDS+= R-vctrs>=0.4.1:../../math/R-vctrs
# Packages suggested but not available:
# 'Lahman', 'lobstr', 'nycflights13', 'RMySQL'
Index: pkgsrc/math/R-dplyr/distinfo
diff -u pkgsrc/math/R-dplyr/distinfo:1.9 pkgsrc/math/R-dplyr/distinfo:1.10
--- pkgsrc/math/R-dplyr/distinfo:1.9 Sun Feb 12 04:09:37 2023
+++ pkgsrc/math/R-dplyr/distinfo Fri Jun 2 12:58:09 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2023/02/12 04:09:37 mef Exp $
+$NetBSD: distinfo,v 1.10 2023/06/02 12:58:09 mef Exp $
-BLAKE2s (R/dplyr_1.1.0.tar.gz) = 22fbcff513fad588235c4146050c9fb534aa1ff11fde9f63a030817b591c731d
-SHA512 (R/dplyr_1.1.0.tar.gz) = 6522db6560b0e136378dc5a5adb470a874fa9fef1813b6736ee02b0c37be1723a88a407d83c72bd77098f08fb610e81702efb8d1b2715612182e6676f68f368f
-Size (R/dplyr_1.1.0.tar.gz) = 1068347 bytes
+BLAKE2s (R/dplyr_1.1.2.tar.gz) = 92c3d8ebc06dfac8a8f1cfab0b6dab74701c172fb69c74204109bb7489a91c24
+SHA512 (R/dplyr_1.1.2.tar.gz) = 62ebede505506a410111189073bb35efb971aad9b09f4622f34b9dcbf8e739c07f1b85a68d95ac9d76a1df2d800358ff4b3b79e4cf3df9911683e2cf472c9aa5
+Size (R/dplyr_1.1.2.tar.gz) = 1083348 bytes
Home |
Main Index |
Thread Index |
Old Index