tidyselect breaking changes

cran

5 curated breaking changes across major versions of tidyselect. Use this as a migration checklist before bumping dependencies.

5
changes
Breaking changes by transition
  • v0.2.5 \u2192 v1.0.0breaking

    Selecting non-column variables with bare names now triggers an informative message suggesting to use `all_of()` instead. Referring to contextual objects with a bare name is brittle because it might be masked by a data frame column. Using `all_of()` is safe (#76). tidyselect now uses vctrs for validating inputs. These changes may reveal programming errors that were previously silent. They may also cause failures if your unit tests make faulty assumptions about the content of error messages create

  • v0.2.5 \u2192 v1.0.0breaking

    Out-of-bounds errors are thrown when a name doesn't exist or a location is too large for the input.

  • v0.2.5 \u2192 v1.0.0breaking

    Logical vectors now fail properly.

  • v0.2.5 \u2192 v1.0.0breaking

    Selected variables now must be unique. It was previously possible to return duplicate selections in some circumstances.

  • v0.2.5 \u2192 v1.0.0breaking

    The input names can no longer contain `NA` values. Note that we recommend `testthat::verify_output()` for monitoring error messages thrown from packages that you don't control. Unlike `expect_error()`, `verify_output()` does not cause CMD check failures when error messages have changed. See <https://www.tidyverse.org/blog/2019/11/testthat-2-3-0/> for more information.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cran/tidyselect
tidyselect breaking changes — CRAN migration guide | DepScope