tests/testthat/_snaps/intercept.md

name can only be a single character

Code
  add_intercept_column(mtcars, name = c("x", "y"))
Condition
  Error in `add_intercept_column()`:
  ! `name` must be a valid name, not a character vector.
Code
  add_intercept_column(mtcars, name = 1)
Condition
  Error in `add_intercept_column()`:
  ! `name` must be a valid name, not the number 1.


Try the hardhat package in your browser

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

hardhat documentation built on March 31, 2023, 10:21 p.m.