tests/testthat/helper-list-of-transpose.R

# Infers both type and size
list_of2 <- function(...) {
  list_of(..., .ptype = NULL, .size = NULL)
}

Try the vctrs package in your browser

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

vctrs documentation built on Jan. 24, 2026, 1:07 a.m.