* using log directory 'd:/Rcompile/CRANpkg/local/4.4/offsetreg.Rcheck'
* using R version 4.4.2 (2024-10-31 ucrt)
* using platform: x86_64-w64-mingw32
* R was compiled by
    gcc.exe (GCC) 13.3.0
    GNU Fortran (GCC) 13.3.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* checking for file 'offsetreg/DESCRIPTION' ... OK
* this is package 'offsetreg' version '1.1.0'
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'offsetreg' can be installed ... OK
See 'https://www.r-project.org/nosvn/R.check/r-release-windows-x86_64/offsetreg-00install.html' for details.
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... [2s] OK
* checking whether the package can be loaded with stated dependencies ... [2s] OK
* checking whether the package can be unloaded cleanly ... [2s] OK
* checking whether the namespace can be loaded with stated dependencies ... [2s] OK
* checking whether the namespace can be unloaded cleanly ... [2s] OK
* checking loading without being on the library search path ... [2s] OK
* checking whether startup messages can be suppressed ... [2s] OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... WARNING
check_args:
  function(object, call)
check_args.boost_tree_offset:
  function(object)

check_args:
  function(object, call)
check_args.poisson_reg_offset:
  function(object)
See section 'Generic functions and methods' in the 'Writing R
Extensions' manual.
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... [5s] OK
* checking Rd files ... [1s] OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of 'data' directory ... OK
* checking data for non-ASCII characters ... [0s] OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking installed files from 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... [4s] OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ... [7s] ERROR
  Running 'testthat.R' [6s]
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 test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(offsetreg)
  > 
  > test_check("offsetreg")
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 32 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-poisson.R:49:3'): poisson_reg_offset() works ───────────────────
  Error in `check_args.poisson_reg_offset(object, call = call)`: unused argument (call = call)
  Backtrace:
      â–†
   1. ├─generics::fit(...) at test-poisson.R:49:3
   2. └─parsnip::fit.model_spec(...)
   3.   └─parsnip:::form_form(object = object, control = control, env = eval_env)
   4.     └─parsnip::check_args(object, call = call)
  ── Error ('test-poisson.R:72:3'): poisson_reg_offset() works with recipes ──────
  Error in `check_args.poisson_reg_offset(object, call = call)`: unused argument (call = call)
  Backtrace:
       â–†
    1. ├─generics::fit(...) at test-poisson.R:72:3
    2. └─workflows:::fit.workflow(...)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, case_weights, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip:::form_form(...)
   11.               └─parsnip::check_args(object, call = call)
  ── Failure ('test-poisson.R:113:3'): finalize works ────────────────────────────
  Expected `fit(tune::finalize_workflow(wf, param_grid), us_deaths)` to run without any errors.
  i Actually got a <simpleError> with text:
    unused argument (call = call)
  ── Error ('test-xgboost.R:75:3'): boost_tree_offset() works ────────────────────
  Error in `check_args.boost_tree_offset(object, call = call)`: unused argument (call = call)
  Backtrace:
      â–†
   1. ├─generics::fit(...) at test-xgboost.R:75:3
   2. └─parsnip::fit.model_spec(...)
   3.   └─parsnip:::form_xy(...)
   4.     └─parsnip:::xy_xy(...)
   5.       └─parsnip::check_args(object, call = call)
  ── Error ('test-xgboost.R:97:3'): boost_tree_offset() works with recipes ───────
  Error in `check_args.boost_tree_offset(object, call = call)`: unused argument (call = call)
  Backtrace:
       â–†
    1. ├─generics::fit(...) at test-xgboost.R:97:3
    2. └─workflows:::fit.workflow(...)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, case_weights, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_xy(...)
   10.             └─parsnip::check_args(object, call = call)
  ── Failure ('test-xgboost.R:137:3'): finalize works ────────────────────────────
  Expected `fit(tune::finalize_workflow(wf, param_grid), us_deaths)` to run without any errors.
  i Actually got a <simpleError> with text:
    unused argument (call = call)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 32 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... [6s] ERROR
Error(s) in re-building vignettes:
--- re-building 'usage.Rmd' using rmarkdown

Quitting from lines 129-140 [glmnet-offset-fix] (usage.Rmd)
Error: processing vignette 'usage.Rmd' failed with diagnostics:
unused argument (call = call)
--- failed re-building 'usage.Rmd'

SUMMARY: processing the following file failed:
  'usage.Rmd'

Error: Vignette re-building failed.
Execution halted

* checking PDF version of manual ... [21s] OK
* checking HTML version of manual ... [2s] OK
* DONE
Status: 2 ERRORs, 1 WARNING