- using R Under development (unstable) (2025-02-15 r87725)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 19.1.7
flang-new version 19.1.7
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 ... [14s/41s] OK
See the install log 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 ... [4s/15s] OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... [3s/12s] OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... [4s/14s] OK
- checking loading without being on the library search path ... [4s/12s] OK
- checking whether startup messages can be suppressed ... [4s/12s] 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 ... [20s/61s] OK
- checking Rd files ... 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 ... 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 ... [8s/17s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [14s/38s] ERROR
Running ‘testthat.R’ [14s/36s]
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 ... [12s/35s] 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 ... [7s/20s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs, 1 WARNING