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.7 to 1.0.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/108b3de89fb9
branches:  trunk
changeset: 379715:108b3de89fb9
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun May 22 12:24:04 2022 +0000

description:
(math/R-dplyr)  Updated 1.0.7 to 1.0.9

# dplyr 1.0.9

* New `rows_append()` which works like `rows_insert()` but ignores keys and
  allows you to insert arbitrary rows with a guarantee that the type of `x`
  won't change (#6249, thanks to @krlmlr for the implementation and @mgirlich
  for the idea).

* The `rows_*()` functions no longer require that the key values in `x` uniquely
  identify each row. Additionally, `rows_insert()` and `rows_delete()` no
  longer require that the key values in `y` uniquely identify each row. Relaxing
  this restriction should make these functions more practically useful for
  data frames, and alternative backends can enforce this in other ways as needed
  (i.e. through primary keys) (#5553).

* `rows_insert()` gained a new `conflict` argument allowing you greater control
  over rows in `y` with keys that conflict with keys in `x`. A conflict arises
  if a key in `y` already exists in `x`. By default, a conflict results in an
  error, but you can now also `"ignore"` these `y` rows. This is very similar to
  the `ON CONFLICT DO NOTHING` command from SQL (#5588, with helpful additions
  from @mgirlich and @krlmlr).

* `rows_update()`, `rows_patch()`, and `rows_delete()` gained a new `unmatched`
  argument allowing you greater control over rows in `y` with keys that are
  unmatched by the keys in `x`. By default, an unmatched key results in an
  error, but you can now also `"ignore"` these `y` rows (#5984, #5699).

* `rows_delete()` no longer requires that the columns of `y` be a strict subset
  of `x`. Only the columns specified through `by` will be utilized from `y`,
  all others will be dropped with a message.

* The `rows_*()` functions now always retain the column types of `x`. This
  behavior was documented, but previously wasn't being applied correctly
  (#6240).

* The `rows_*()` functions now fail elegantly if `y` is a zero column data frame
  and `by` isn't specified (#6179).

# dplyr 1.0.8

* Better display of error messages thanks to rlang 1.0.0.

* `mutate(.keep = "none")` is no longer identical to `transmute()`.
  `transmute()` has not been changed, and completely ignores the column ordering
  of the existing data, instead relying on the ordering of expressions
  supplied through `...`. `mutate(.keep = "none")` has been changed to ensure
  that pre-existing columns are never moved, which aligns more closely with the
  other `.keep` options (#6086).

* `filter()` forbids matrix results (#5973) and warns about data frame
  results, especially data frames created from `across()` with a hint
  to use `if_any()` or `if_all()`.

* `slice()` helpers (`slice_head()`, `slice_tail()`, `slice_min()`, `slice_max()`)
  now accept negative values for `n` and `prop` (#5961).

* `slice()` now indicates which group produces an error (#5931).

* `cur_data()` and `cur_data_all()` don't simplify list columns in rowwise data frames (#5901).

* dplyr now uses `rlang::check_installed()` to prompt you whether to install
  required packages that are missing.

* `storms` data updated to 2020 (@steveharoz, #5899).

* `coalesce()` accepts 1-D arrays (#5557).

* The deprecated `trunc_mat()` is no longer reexported from dplyr (#6141).

diffstat:

 math/R-dplyr/Makefile |  23 ++++++++++++++++-------
 math/R-dplyr/distinfo |   8 ++++----
 2 files changed, 20 insertions(+), 11 deletions(-)

diffs (60 lines):

diff -r e08891a639b7 -r 108b3de89fb9 math/R-dplyr/Makefile
--- a/math/R-dplyr/Makefile     Sun May 22 12:18:00 2022 +0000
+++ b/math/R-dplyr/Makefile     Sun May 22 12:24:04 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2021/09/11 15:31:54 mef Exp $
+# $NetBSD: Makefile,v 1.6 2022/05/22 12:24:04 mef Exp $
 
 R_PKGNAME=     dplyr
-R_PKGVER=      1.0.7
+R_PKGVER=      1.0.9
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Grammar of data manipulation
@@ -19,19 +19,28 @@
 DEPENDS+=      R-ellipsis>=0.3.0:../../math/R-ellipsis
 DEPENDS+=      R-generics>=0.0.2:../../math/R-generics
 DEPENDS+=      R-tibble>=2.1.3:../../math/R-tibble
-DEPENDS+=      R-vctrs>=0.3.0:../../math/R-vctrs
+DEPENDS+=      R-vctrs>=0.4.1:../../math/R-vctrs
 
 # Packages suggested but not available:
-#   'bench', 'broom', 'dbplyr', 'Lahman', 'lobstr', 'nycflights13',
-#   'RMySQL', 'RPostgreSQL'
+#   'bench', 'Lahman', 'lobstr', 'nycflights13', 'RMySQL'
+
 
-TEST_DEPENDS+= R-RSQLite-[0-9]*:../../databases/R-RSQLite
+
+#TEST_DEPENDS+=        R-bench-[0-9]*:
+TEST_DEPENDS+= R-broom-[0-9]*:../../math/R-broom
 TEST_DEPENDS+= R-callr-[0-9]*:../../devel/R-callr
 TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
-TEST_DEPENDS+= R-dplyr-[0-9]*:../../math/R-dplyr
+TEST_DEPENDS+= R-dbplyr-[0-9]*:../../databases/R-dbplyr
+TEST_DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2
 TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+#TEST_DEPENDS+=        R-Lahman-[0-9]*:
+#TEST_DEPENDS+=        R-lobstr-[0-9]*:
 TEST_DEPENDS+= R-microbenchmark-[0-9]*:../../benchmarks/R-microbenchmark
+#TEST_DEPENDS+=        R-nycflights13-[0-9]*:
 TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+#TEST_DEPENDS+=        R-RMySQL-[0-9]*:
+TEST_DEPENDS+= R-RPostgreSQL-[0-9]*:../../math/R-RPostgreSQL
+TEST_DEPENDS+= R-RSQLite-[0-9]*:../../databases/R-RSQLite
 TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
 TEST_DEPENDS+= R-tidyr-[0-9]*:../../math/R-tidyr
 TEST_DEPENDS+= R-withr-[0-9]*:../../devel/R-withr
diff -r e08891a639b7 -r 108b3de89fb9 math/R-dplyr/distinfo
--- a/math/R-dplyr/distinfo     Sun May 22 12:18:00 2022 +0000
+++ b/math/R-dplyr/distinfo     Sun May 22 12:24:04 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:55:26 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/05/22 12:24:04 mef Exp $
 
-BLAKE2s (R/dplyr_1.0.7.tar.gz) = 668e7af5b8e2b4d05005a9999e044a42e7608de8ee72335d9bf4e0e9e8a7172b
-SHA512 (R/dplyr_1.0.7.tar.gz) = a81765c414476fdf8a991b487ec0bbd98aaee6f2fd082e3969eb04b7ee4c658a3eb0997dcfef9c743343ade6220f2ea102887cc058c881da249480a5203cde57
-Size (R/dplyr_1.0.7.tar.gz) = 852103 bytes
+BLAKE2s (R/dplyr_1.0.9.tar.gz) = 0118a9b81fd26da904422e07efa017836dcca0b0a4f20fef5269b7df6c9be819
+SHA512 (R/dplyr_1.0.9.tar.gz) = 0044bd937d68df71fff75d78851f15fd041912872ae0cfcc006b22f08f6ed633a978001a421b2a92500ca87c9170bf9cd3f6b081d045da0b41721af71b3911a2
+Size (R/dplyr_1.0.9.tar.gz) = 957637 bytes



Home | Main Index | Thread Index | Old Index