You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, it feels like a waste to replace a with the output of assert_numeric (which is of course equal to a). Would it be possible to instead have a dplyr style function along the lines of:
tibble(a= c(1,2)) |>
check(test_numeric(a)) |># continue with pipe
where check() does dplyr style data-masking and then just returns its input (or raises an error).
The text was updated successfully, but these errors were encountered:
At present the following works:
However, it feels like a waste to replace
a
with the output ofassert_numeric
(which is of course equal toa
). Would it be possible to instead have adplyr
style function along the lines of:where
check()
doesdplyr
style data-masking and then just returns its input (or raises an error).The text was updated successfully, but these errors were encountered: