- using R version 4.4.3 RC (2025-02-20 r87772)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-16) 14.2.0
GNU Fortran (Debian 14.2.0-16) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘offsetreg’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking whether startup messages can be suppressed ... [2s/3s] 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 ... [11s/15s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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/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/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/11s] ERROR
Running ‘testthat.R’ [9s/11s]
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 ... [7s/9s] 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 ... [4s/6s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 WARNING