tests/testthat/_snaps/fill.md

validates its inputs

Code
  df %>% fill(x, .direction = "foo")
Condition
  Error in `fill()`:
  ! `.direction` must be one of "down", "up", "downup", or "updown", not "foo".


Try the tidyr package in your browser

Any scripts or data that you put into this service are public.

tidyr documentation built on Feb. 16, 2023, 7:40 p.m.