Skip to content

obj_maybe_translate_encoding causes a crash #1233

@TylerGrantSmith

Description

@TylerGrantSmith

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions