tests/testthat/_snaps/model-offset.md

Only numeric columns can be offsets

Code
  mold(~ Sepal.Width + offset(Species), iris)
Condition
  Error in `mold()`:
  ! Column "offset(Species)" is tagged as an offset and thus must be numeric, not a <factor> object.

offset columns are stored as predictors

Code
  forge(iris2, x$blueprint)
Condition
  Error in `forge()`:
  ! The required column "Sepal.Length" is missing.


Try the hardhat package in your browser

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

hardhat documentation built on April 4, 2025, 3:18 a.m.