Use vctrs::vec_is() instead of is_vector_s3().
Use testthat::expect_snapshot() instead of expect_known_display().
expect_known_display(object, file, ..., width = 80L, crayon = TRUE)
An object to check.
File path where known value/output will be stored.
The width of the output.
Color the output?