pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/R-tidyselect



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Dec 18 05:01:02 UTC 2022

Modified Files:
        pkgsrc/devel/R-tidyselect: Makefile distinfo

Log Message:
(devel/R-tidyselect) Updated 1.1.2 to 1.2.0

# tidyselect 1.2.0

## New features

* New `tidyselect_data_proxy()` and `tidyselect_data_has_predicates()`
  allows tidyselect to work with custom input types (#242).

* New `eval_relocate()` for moving a selection. This powers `dplyr::relocate()`
  (#232).

## Lifecycle changes

* Using `all_of()` outside of a tidyselect context is now deprecated (#269).
  In the future it will error to be consistent with `any_of()`.

* Use of `.data` in tidyselect expressions is now deprecated to more cleanly
  separate tidy-select from data-masking. Replace `.data$x` with `"x"` and
  `.data[[var]]` with `any_of(var)` or `all_of(var)` (#169).

* Use of bare predicates (not wrapped in `where()`) and indirection (without
  using `all_of()`) have been formally deprecated (#317).

## Minor improvements and bug fixes

* Selection language:

  * `any_of()` generates a more informative error if you supply too many
    arguments (#241).

  * `all_of()` (like `any_of()`) returns an integer vector to make it easier
    to combine in functions (#270, #294). It also fails when it can't find
    variables even when `strict = FALSE`.

  * `matches()` recognises and correctly uses stringr pattern objects
    (`stringr::regex()`, `stringr::fixed()`, etc) (#238). It also now
    works with named vectors (#250).

  * `num_range()` gains a `suffix` argument (#229).

  * `where()` is now exported, like all other select helpers (#201),
    and gives more informative errors (#236).

* `eval_select()` with `include` now preserves the order of the variables
  if they're present in the selection (#224).

* `eval_select()` always returns a named vector, even when renaming is not
  permitted (#220).

* `eval_select()` and `eval_relocate()` gain new `allow_empty` argument which
  makes it possible to forbid empty selections with `allow_empty = FALSE` (#252).

* `eval_select(allow_rename = FALSE)` no longer fails with empty
  selections (#221, @eutwt) or with predicate functions (#225). It now properly
  fails with partial renaming (#305).

* `peek_var()` error now generates hyperlink to docs with recent RStudio (#289).

* `vars_pull()` generates more informative error messages (#234, #258, #318)
  and gains `error_call` and `error_arg` arguments.

* Errors produced by tidyselect should now be more informative. Evaluation
  errors are now chained, with the child error call is set to the `error_call`
  argument of `eval_select()` and `eval_rename()`. We've also improved
  backtraces of base errors, and done better at propagating the root
  `error_call` to vctrs input checkers.

* `tidyselect_verbosity` is no longer used; deprecation messaging is now
  controlled by `lifecycle_verbosity` like all other packages (#317).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/R-tidyselect/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/R-tidyselect/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/R-tidyselect/Makefile
diff -u pkgsrc/devel/R-tidyselect/Makefile:1.4 pkgsrc/devel/R-tidyselect/Makefile:1.5
--- pkgsrc/devel/R-tidyselect/Makefile:1.4      Sat Apr 30 09:41:57 2022
+++ pkgsrc/devel/R-tidyselect/Makefile  Sun Dec 18 05:01:02 2022
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/04/30 09:41:57 mef Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/18 05:01:02 mef Exp $
 
 R_PKGNAME=     tidyselect
-R_PKGVER=      1.1.2
+R_PKGVER=      1.2.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/devel/R-tidyselect/distinfo
diff -u pkgsrc/devel/R-tidyselect/distinfo:1.6 pkgsrc/devel/R-tidyselect/distinfo:1.7
--- pkgsrc/devel/R-tidyselect/distinfo:1.6      Sat Apr 30 09:41:57 2022
+++ pkgsrc/devel/R-tidyselect/distinfo  Sun Dec 18 05:01:02 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2022/04/30 09:41:57 mef Exp $
+$NetBSD: distinfo,v 1.7 2022/12/18 05:01:02 mef Exp $
 
-BLAKE2s (R/tidyselect_1.1.2.tar.gz) = fe424e3be1a7e23702324b86443e5c72723a16f9c826c60417b68be130ed0683
-SHA512 (R/tidyselect_1.1.2.tar.gz) = 99638296c8a4fbfc32d4b428d381fa18decf4c332f4383ef5bef1a2569fee77a609b77d4b867ad319398d3d78ed4d82088e9e3e1c65bd92beda6fc9a665a1d8a
-Size (R/tidyselect_1.1.2.tar.gz) = 92085 bytes
+BLAKE2s (R/tidyselect_1.2.0.tar.gz) = fd48267db037ead4ddfe1399f8196d0ad5b56a9310962071a19c219435fa0672
+SHA512 (R/tidyselect_1.2.0.tar.gz) = 0cc9138a05316a95e464616c4799f8b060a41353c2494497c7d4b9f36ca28d44885cfd57c2e7c72117e4839e56eeeb0ae100e8c6d94093c0d8015a6ff214eabb
+Size (R/tidyselect_1.2.0.tar.gz) = 101498 bytes



Home | Main Index | Thread Index | Old Index