When to use offsetreg
When offsetreg is not necessary | Offsets supported in model formulas: glm() | Offsets not supported in model formulas: glmnet() | When offsetreg is necessary | Using recipe() when offsets cannot be specified in a formula | Resampling when offsets cannot be specified in a formula