tests/testthat/_snaps/seq.md

full_seq errors if sequence isn't regular

Code
  full_seq(c(1, 3, 4), 2)
Condition
  Error in `full_seq()`:
  ! `x` is not a regular sequence.
Code
  full_seq(c(0, 10, 20), 11, tol = 1.8)
Condition
  Error in `full_seq()`:
  ! `x` is not a regular sequence.

validates inputs

Code
  full_seq(x, period = "a")
Condition
  Error in `full_seq()`:
  ! `period` must be a number, not the string "a".
Code
  full_seq(x, 1, tol = "a")
Condition
  Error in `full_seq()`:
  ! `tol` must be a number, not the string "a".


tidyverse/tidyr documentation built on Oct. 30, 2024, 1:53 a.m.