tests/testthat/helper-size.R

expect_size <- function(object, n) {
  expect_identical(vec_size(object), vec_cast(n, int()))
}

Try the vctrs package in your browser

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

vctrs documentation built on May 29, 2024, 11:39 a.m.