Running the following code causes R to crash
# no error
x <- vctrs::new_rcrd(list(foo = 1))
vctrs:::obj_maybe_translate_encoding(x)
# crash
x <- vctrs::new_rcrd(list(foo = 1:2))
vctrs:::obj_maybe_translate_encoding(x)
I was lead to this trying to debug the following error: tidyverse/tidyr#1004