Skip to content

Commit

Permalink
tidyselect 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Oct 23, 2024
1 parent bd624cd commit 414ae42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/pivot-wide.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@

Code
pivot_wider(df, names_from = starts_with("foo"), values_from = val)
Condition <tidyselect_error_empty_selection>
Condition <rlang_error>
Error in `pivot_wider()`:
! Must select at least one item.

# `values_from` must identify at least 1 column (#1240)

Code
pivot_wider(df, names_from = key, values_from = starts_with("foo"))
Condition <tidyselect_error_empty_selection>
Condition <rlang_error>
Error in `pivot_wider()`:
! Must select at least one item.

Expand Down

0 comments on commit 414ae42

Please sign in to comment.