- using R Under development (unstable) (2026-11-18 r90935)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-4) 16.2.0
GNU Fortran (Debian 16.2.0-4) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-19 17:29:37 UTC
- checking for file ‘interactions/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘interactions’ version ‘1.3.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- 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 serialization versions ... OK
- checking whether package ‘interactions’ 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/2s] 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/2s] OK
- checking loading without being on the library search path ... [2s/2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [17s/20s] OK
- checking Rd files ... [0s/1s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [12s/16s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
probe_interaction 3.542 0.109 5.245
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [109s/140s] ERROR
Running ‘testthat.R’ [109s/140s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(vdiffr)
> library(interactions)
>
> test_check("interactions")
✖ Detected factor predictor.
ℹ Plotting with cat_plot() instead.
ℹ See `?interactions::cat_plot()` for full details on how to specify models
with categorical predictors.
ℹ If you experience errors or unexpected results, try using cat_plot()
directly.
Saving _problems/test_interact_plot-179.R
Saving _problems/test_interact_plot-186.R
✖ Detected factor predictor.
ℹ Plotting with cat_plot() instead.
ℹ See `?interactions::cat_plot()` for full details on how to specify models
with categorical predictors.
ℹ If you experience errors or unexpected results, try using cat_plot()
directly.
[ FAIL 2 | WARN 0 | SKIP 55 | PASS 361 ]
══ Skipped tests (55) ══════════════════════════════════════════════════════════
• On CRAN (49): 'test_cat_plot.R:18:1', 'test_cat_plot.R:33:1',
'test_cat_plot.R:38:1', 'test_cat_plot.R:43:1', 'test_cat_plot.R:49:1',
'test_cat_plot.R:54:1', 'test_cat_plot.R:60:1', 'test_cat_plot.R:66:1',
'test_cat_plot.R:72:1', 'test_cat_plot.R:79:1', 'test_cat_plot.R:86:1',
'test_cat_plot.R:91:1', 'test_cat_plot.R:97:1', 'test_cat_plot.R:103:1',
'test_cat_plot.R:110:1', 'test_cat_plot.R:133:1', 'test_cat_plot.R:140:1',
'test_cat_plot.R:154:1', 'test_cat_plot.R:177:1', 'test_cat_plot.R:182:1',
'test_cat_plot.R:188:1', 'test_cat_plot.R:194:1', 'test_cat_plot.R:201:1',
'test_cat_plot.R:206:1', 'test_cat_plot.R:212:1', 'test_cat_plot.R:218:1',
'test_cat_plot.R:225:1', 'test_cat_plot.R:232:1', 'test_cat_plot.R:237:1',
'test_cat_plot.R:243:1', 'test_cat_plot.R:249:1', 'test_cat_plot.R:258:1',
'test_cat_plot.R:263:1', 'test_cat_plot.R:268:1', 'test_cat_plot.R:274:1',
'test_cat_plot.R:279:1', 'test_cat_plot.R:284:1', 'test_cat_plot.R:290:1',
'test_interact_plot.R:32:1', 'test_interact_plot.R:49:1',
'test_interact_plot.R:109:1', 'test_interact_plot.R:121:1',
'test_interact_plot.R:128:1', 'test_interact_plot.R:133:1',
'test_interact_plot.R:138:1', 'test_interact_plot.R:195:1',
'test_interact_plot.R:209:1', 'test_interact_plot.R:241:1',
'test_interact_plot.R:248:1'
• {brms} is not installed (2): 'test_cat_plot.R:299:3',
'test_interact_plot.R:280:3'
• {panelr} is not installed (3): 'test-panelr-plots.R:25:3',
'test-panelr-slopes.R:2:3', 'test-panelr-slopes.R:34:3'
• {rstanarm} is not installed (1): 'test_interact_plot.R:297:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_interact_plot.R:175:3'): interact_plot terciles modxval/mod2val works ──
Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object
Backtrace:
▆
1. ├─testthat::expect_message(...) at test_interact_plot.R:175:3
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─interactions::interact_plot(...)
7. └─interactions:::prep_data(...)
8. └─interactions:::mod_vals(...)
9. └─interactions:::auto_mod_vals(...)
10. └─interactions:::cut2(d[[modx]], g = 3, levels.median = TRUE)
11. └─base::structure(y, class = "factor", levels = labs)
── Error ('test_interact_plot.R:184:3'): interact_plot linearity.check works ───
Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object
Backtrace:
▆
1. └─interactions::interact_plot(...) at test_interact_plot.R:184:3
2. └─interactions:::prep_data(...)
3. └─interactions:::mod_vals(...)
4. └─interactions:::auto_mod_vals(...)
5. └─interactions:::cut2(d[[modx]], g = 3, levels.median = TRUE)
6. └─base::structure(y, class = "factor", levels = labs)
[ FAIL 2 | WARN 0 | SKIP 55 | PASS 361 ]
Deleting unused snapshots: 'cat_plot/pcatbfit.svg', 'interact_plot/pbfcat.svg',
'interact_plot/pbfcont.svg', 'interact_plot/plmlinearchnp.svg',
'interact_plot/plmlinearchp.svg', 'interact_plot/plmtercs.svg', and
'interact_plot/prsacont.svg'
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [35s/42s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR