Debian Codegraph @

tests/testthat/_snaps/helpers.md

raw symbols SCIP
1 # one_of gives useful errors
2
3 Code
4 (expect_error(one_of(1L, .vars = c("x", "y")), class = "vctrs_error_incompatible_index_type")
5 )
6 Output
7 <error/vctrs_error_incompatible_index_type>
8 Error in `one_of()`:
9 ! Input 1 must be a vector of column names, not an integer.
10