tests/testthat/_snaps/parsing-factors.md

factor levels must be null or a character vector (#1140)

Code
  col_factor(levels = 1:10)
Condition
  Error:
  ! `levels` must be `NULL` or a character vector:
  - `levels` is a 'integer'


Try the readr package in your browser

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

readr documentation built on Feb. 20, 2026, 1:07 a.m.