Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/testthat/_snaps/dplyr-case-match.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
Condition
Error in `case_match()`:
! `..1 (right)` must be a vector, not `NULL`.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

---

Expand All @@ -37,6 +38,7 @@
Condition
Error in `case_match()`:
! `..1 (left)` must be a vector, not `NULL`.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

# throws chained errors when formula evaluation fails

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/_snaps/dplyr-case-when.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
Condition
Error in `case_when()`:
! `..1 (right)` must be a vector, not `NULL`.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

---

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/_snaps/dplyr-coalesce.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
Condition
Error in `coalesce()`:
! `..2` must be a vector, not an environment.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

# names in error messages are indexed correctly

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/_snaps/dplyr-consecutive-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
Condition
Error in `consecutive_id()`:
! `..1` must be a vector, not a function.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

1 change: 1 addition & 0 deletions tests/testthat/_snaps/dplyr-desc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
Condition
Error in `desc()`:
! `x` must be a vector, not a function.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

2 changes: 2 additions & 0 deletions tests/testthat/_snaps/dplyr-lead-lag.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
Condition
Error in `lead()`:
! `x` must be a vector, not an environment.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

---

Expand All @@ -67,4 +68,5 @@
Condition
Error in `lag()`:
! `x` must be a vector, not an environment.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

1 change: 1 addition & 0 deletions tests/testthat/_snaps/dplyr-n-distinct.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
Condition
Error in `n_distinct()`:
! `..1` must be a vector, not a function.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

2 changes: 2 additions & 0 deletions tests/testthat/_snaps/dplyr-na-if.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
Condition
Error in `na_if()`:
! `x` must be a vector, not an environment.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

---

Expand All @@ -46,4 +47,5 @@
Condition
Error in `na_if()`:
! `y` must be a vector, not an environment.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

1 change: 1 addition & 0 deletions tests/testthat/_snaps/dplyr-nth-value.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
Condition
Error in `vec_size()`:
! `x` must be a vector, not an environment.
i Read our FAQ about scalar types (`?vctrs::faq_error_scalar_type`) to learn more.

# `order_by` must be the same size as `x`

Expand Down