Nothing
Code
where_at(x, c(FALSE, TRUE))
Condition
Error:
! Can't subset elements with `at`.
x Logical subscript `at` must be size 1 or 3, not 2.
Code
where_at(x, NA_real_)
Condition
Error:
! Can't subset elements.
x Subscript can't contain missing values.
x It has a missing value at location 1.
Code
where_at(x, 4)
Condition
Error:
! Can't subset elements past the end.
i Location 4 doesn't exist.
i There are only 3 elements.
Code
where_at(x, list())
Condition
Error:
! `list()` must be a numeric vector, character vector, or function, not an empty list.
at
is deprecatedCode
. <- where_at(data.frame(x = 1), vars("x"), user_env = globalenv())
Condition
Warning:
Using `vars()` in .at was deprecated in purrr 1.0.0.
Code
x <- vctrs_vec_compat(expression(1, 2), globalenv())
Condition
Warning:
Use of calls and pairlists in map functions was deprecated in purrr 1.0.0.
i Please coerce explicitly with `as.list()`
Code
x <- vctrs_vec_compat(pairlist(1, 2), globalenv())
Condition
Warning:
Use of pairlists in map functions was deprecated in purrr 1.0.0.
i Please coerce explicitly with `as.list()`
Code
x <- vctrs_vec_compat(quote(f(a, b = 1)), globalenv())
Condition
Warning:
Use of calls and pairlists in map functions was deprecated in purrr 1.0.0.
i Please coerce explicitly with `as.list()`
Code
map(foo(), identity)
Condition
Error in `x[[i]]`:
! this S4 class is not subsettable
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.