Skip to content

offsetreg

An Extension of 'Tidymodels' Supporting Offset Terms

v1.2.0 · Mar 22, 2026 · MIT + file LICENSE

Description

Extend the 'tidymodels' ecosystem <https://www.tidymodels.org/> to enable the creation of predictive models with offset terms. Models with offsets are most useful when working with count data or when fitting an adjustment model on top of an existing model with a prior expectation. The former situation is common in insurance where data is often weighted by exposures. The latter is common in life insurance where industry mortality tables are often used as a starting point for setting assumptions.

Downloads

CRAN

447

Last 30 days

8827th

1.5K

Last 90 days

3.2K

Last year

Trend: -8.2% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

34

Last 90 days

106

Last year

Trend: -50% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available: 'parsnip', 'poissonreg'

Packages suggested but not available for checking:
  'recipes', 'tune', 'workflows', 'rsample'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

tests

Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional te
...[truncated]...
aths()), versionCheck = vI[[i]])
   10.         └─base::library.dynam(lib, package, package.lib)
   11.           └─base::dyn.load(file, DLLpath = DLLpath, ...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 9 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies cli generics glue parsnip poissonreg rlang offsetreg

Version History

5 tracked
updated 1.2.0 ← 1.1.1 diff Mar 23, 2026
new 1.1.1 Mar 10, 2026
updated 1.1.1 ← 1.1.0 diff Mar 1, 2025
updated 1.1.0 ← 1.0.0 diff Apr 10, 2024
new 1.0.0 Jan 22, 2024