* using log directory ‘/data/localhost/ripley/R/packages/tests-MKL/olsrr.Rcheck’ * using R Under development (unstable) (2026-11-18 r90935) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-11-19 07:00:31 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘olsrr/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘olsrr’ version ‘0.7.1’ * 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 ‘olsrr’ can be installed ... [11s/41s] 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [22s/74s] 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 ... [49s/162s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [4m/10m] [4m/10m] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(olsrr) Attaching package: 'olsrr' The following object is masked from 'package:datasets': rivers > > test_check("olsrr") Tracing function "combn" in package "utils" Tracing function "combn" in package "utils" Tracing function "combn" in package "utils" Tracing function "combn" in package "utils" Untracing function "combn" in package "utils" Tracing function "combn" in package "utils" Untracing function "combn" in package "utils" `geom_smooth()` using formula = 'y ~ x' `geom_smooth()` using formula = 'y ~ x' `geom_smooth()` using formula = 'y ~ x' `geom_smooth()` using formula = 'y ~ x' `geom_smooth()` using formula = 'y ~ x' `geom_smooth()` using formula = 'y ~ x' Saving _problems/test-refit-identity-80.R Saving _problems/test-refit-identity-82.R Saving _problems/test-refit-identity-80.R Saving _problems/test-refit-identity-87.R Saving _problems/test-refit-identity-87.R Saving _problems/test-refit-identity-85.R Saving _problems/test-refit-identity-85.R Saving _problems/test-refit-identity-87.R Saving _problems/test-refit-identity-85.R Saving _problems/test-refit-identity-87.R Saving _problems/test-refit-identity-85.R Saving _problems/test-refit-identity-87.R Saving _problems/test-refit-identity-107.R Saving _problems/test-refit-identity-111.R Saving _problems/test-refit-identity-112.R Saving _problems/test-refit-identity-109.R No candidate predictors left to enter. Saving _problems/test-regress-782.R Residual sum of squares < 1e-10 (near-perfect fit). Variable selection stopped. No variables have been removed from the model. Residual sum of squares < 1e-10 (near-perfect fit). Variable selection stopped. No variables have been removed from the model. Residual sum of squares < 1e-10 (near-perfect fit). Variable selection stopped. No variables have been added to the model. Residual sum of squares < 1e-10 (near-perfect fit). Variable selection stopped. No variables have been added to the model. No candidate predictors left to enter. No candidate predictors left to enter. Saving _problems/test-step-forward-165.R No candidate predictors left to enter. No candidate predictors left to enter. Saving _problems/test-step-forward-209.R Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison Note: model has aliased coefficients sums of squares computed by model comparison No variables have been added to the model. No more variables to be added. [ FAIL 19 | WARN 0 | SKIP 86 | PASS 3290 ] ══ Skipped tests (86) ══════════════════════════════════════════════════════════ • On CRAN (86): 'test-all-possible.R:101:1', 'test-anova.R:16:1', 'test-bartlett-output.R:1:1', 'test-best-subsets-output.R:1:1', 'test-best-subsets-output.R:6:1', 'test-bp-output.R:1:1', 'test-collindiag.R:40:1', 'test-correlations-output.R:1:1', 'test-ftest-output.R:1:1', 'test-loftest-output.R:1:1', 'test-model-performance.R:14:1', 'test-norm-output.R:1:1', 'test-regress-output.R:1:1', 'test-score-output.R:1:1', 'test-step-backward-output.R:1:1', 'test-step-backward-output.R:8:1', 'test-step-backward-output.R:15:1', 'test-step-determinism.R:20:3', 'test-step-determinism.R:39:3', 'test-step-determinism.R:58:3', 'test-step-forward-output.R:1:1', 'test-step-forward-output.R:8:1', 'test-step-forward-output.R:15:1', 'test-step-rsquared-output.R:3:1', 'test-step-rsquared-output.R:9:1', 'test-step-rsquared-output.R:15:1', 'test-step-rsquared-output.R:21:1', 'test-step-rsquared-output.R:27:1', 'test-step-rsquared-output.R:33:1', 'test-stepaic-b-output.R:3:1', 'test-stepaic-b-output.R:9:1', 'test-stepaic-b-output.R:15:1', 'test-stepaic-both-output.R:1:1', 'test-stepaic-both-output.R:7:1', 'test-stepaic-both-output.R:13:1', 'test-stepaic-f-output.R:3:1', 'test-stepaic-f-output.R:10:1', 'test-stepaic-f-output.R:17:1', 'test-stepwise-output.R:1:1', 'test-stepwise-output.R:8:1', 'test-utility.R:99:3', 'test-visual.R:4:3', 'test-visual.R:11:3', 'test-visual.R:18:3', 'test-visual.R:24:3', 'test-visual.R:30:3', 'test-visual.R:36:3', 'test-visual.R:42:3', 'test-visual.R:49:3', 'test-visual.R:55:3', 'test-visual.R:61:3', 'test-visual.R:67:3', 'test-visual.R:90:3', 'test-visual.R:99:3', 'test-visual.R:105:3', 'test-visual.R:111:3', 'test-visual.R:117:3', 'test-visual.R:123:3', 'test-visual.R:130:3', 'test-visual.R:139:3', 'test-visual.R:149:3', 'test-visual.R:159:3', 'test-visual.R:170:3', 'test-visual.R:179:3', 'test-visual.R:192:3', 'test-visual.R:205:3', 'test-visual.R:217:3', 'test-visual.R:235:3', 'test-visual.R:241:3', 'test-visual.R:251:3', 'test-visual.R:258:3', 'test-visual.R:265:3', 'test-visual.R:272:3', 'test-visual.R:283:3', 'test-visual.R:294:3', 'test-visual.R:306:3', 'test-visual.R:317:3', 'test-visual.R:328:3', 'test-visual.R:339:3', 'test-visual.R:350:3', 'test-visual.R:361:3', 'test-visual.R:372:3', 'test-visual.R:383:3', 'test-visual.R:394:3', 'test-visual.R:405:3', 'test-visual.R:416:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-refit-identity.R:80:5'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `ols_regress(m)$sbetas` to be identical to `expected`. Differences: actual | expected [1] 0.008144386521190140 - 0.008144386521189992 [1] [2] -0.288477791207574052 - -0.288477791207574219 [2] [3] -1.282944252796580198 - -1.282944252796579754 [3] [4] 0.258194497698282954 - 0.258194497698282899 [4] [5] 0.746130640996481298 - 0.746130640996481076 [5] ── Failure ('test-refit-identity.R:82:5'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `ols_regress(explicit)$sbetas` to be identical to `expected`. Differences: actual | expected [1] 0.008144386521190140 - 0.008144386521189992 [1] [2] -0.288477791207574052 - -0.288477791207574219 [2] [3] -1.282944252796580198 - -1.282944252796579754 [3] [4] 0.258194497698282954 - 0.258194497698282899 [4] [5] 0.746130640996481298 - 0.746130640996481076 [5] ── Failure ('test-refit-identity.R:80:5'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `ols_regress(m)$sbetas` to be identical to `expected`. Differences: actual | expected [1] 0.0072845607585655756 - 0.0072845607585655661 [1] [2] -0.2933644231202879871 - -0.2933644231202880981 [2] [3] -0.5105316792559693173 - -0.5105316792559692063 [3] [4] 0.3443972767673352808 | 0.3443972767673352808 [4] [5] 0.2019541450366324209 - 0.2019541450366324764 [5] ── Failure ('test-refit-identity.R:87:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(kx$model)` to be identical to `coef(mx)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:87:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(kx$model)` to be identical to `coef(mx)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:85:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(k$model)` to be identical to `coef(m)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:85:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(k$model)` to be identical to `coef(m)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:87:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(kx$model)` to be identical to `coef(mx)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:85:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(k$model)` to be identical to `coef(m)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:87:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(kx$model)` to be identical to `coef(mx)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:85:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(k$model)` to be identical to `coef(m)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:87:7'): base named contrasts use stats and explicit matrices stay fixed (O01) ── Expected `coef(kx$model)` to be identical to `coef(mx)`. Differences: actual | expected [1] 18.080073707112539694 - 18.080073707112543246 [1] [2] 17.902951931785565876 - 17.902951931785562323 [2] [3] 2.593777425573537965 - 2.593777425573539297 [3] [4] -0.014244121508902564 | -0.014244121508902564 [4] [5] -0.098531766310546484 | -0.098531766310546484 [5] [6] 0.006630852900488340 - 0.006630852900488328 [6] ── Failure ('test-refit-identity.R:107:3'): refits preserve the frozen total under offset cancellation (O02) ── Expected `ols_regress(m)$sbetas` to be identical to `expected`. Differences: `actual`: -0.796159002770927993 -0.331810130359594113 0.101376863091563602 `expected`: -0.796159002770928437 -0.331810130359594335 0.101376863091563518 ── Failure ('test-refit-identity.R:111:5'): refits preserve the frozen total under offset cancellation (O02) ── Expected `coef(k$model)` to be identical to `coef(m)`. Differences: actual | expected [1] 44.770554879339911736 | 44.770554879339911736 [1] [2] -6.607496410390775843 - -6.607496410390776731 [2] [3] -0.066528465449868540 - -0.066528465449868637 [3] [4] 0.011612724865403264 - 0.011612724865403285 [4] ── Failure ('test-refit-identity.R:112:5'): refits preserve the frozen total under offset cancellation (O02) ── Expected `k$model$fitted.values` to be identical to `m$fitted.values`. Differences: actual | expected [1] 23.4875703908397924 - 23.4875703908397959 [1] [2] 22.1283957386646719 | 22.1283957386646719 [2] [3] 25.7595774373549453 - 25.7595774373549347 [3] [4] 20.3161628690978873 | 20.3161628690978873 [4] [5] 17.3891461428414082 | 17.3891461428414082 [5] [6] 19.1420313707526333 - 19.1420313707526297 [6] [7] 15.0393884625520080 | 15.0393884625520080 [7] [8] 21.8646411961809406 | 21.8646411961809406 [8] [9] 21.1118448848433786 | 21.1118448848433786 [9] actual | expected [12] 14.4104029444675401 | 14.4104029444675401 [12] [13] 15.9462529622377254 | 15.9462529622377254 [13] [14] 15.7203926655068180 | 15.7203926655068180 [14] [15] 8.9410584439555461 - 8.9410584439555478 [15] [16] 8.1701695066972722 - 8.1701695066972739 [16] [17] 19.9280428256149484 - 19.9280428256149520 [17] [18] 27.5293517072454286 - 27.5293517072454321 [18] [19] 31.6152046073622053 - 31.6152046073622088 [19] [20] 29.7065564703523535 | 29.7065564703523535 [20] [21] 24.8064756580316441 | 24.8064756580316441 [21] ... ... ... and 1 more ... actual | expected [23] 18.0779913790663400 | 18.0779913790663400 [23] [24] 14.0235461815929252 | 14.0235461815929252 [24] [25] 15.5361619714685979 | 15.5361619714685979 [25] [26] 29.0772316981030805 - 29.0772316981030841 [26] [27] 26.8378842454542408 | 26.8378842454542408 [27] [28] 29.2411121720966491 | 29.2411121720966491 [28] [29] 15.9797335649945342 - 15.9797335649945325 [29] [30] 20.4545767473346949 | 20.4545767473346949 [30] [31] 12.7829950713179077 - 12.7829950713179095 [31] [32] 22.6690000131323757 | 22.6690000131323757 [32] ── Error ('test-refit-identity.R:109:5'): refits preserve the frozen total under offset cancellation (O02) ── Error: the final model cannot reproduce the frozen-offset selection fit exactly; prediction with newdata is not supported for this model. Backtrace: ▆ 1. ├─base::suppressMessages(get(nm)(m, include = c("wt", "hp", "wt:hp"))) at test-refit-identity.R:109:5 2. │ └─base::withCallingHandlers(...) 3. ├─get(nm)(m, include = c("wt", "hp", "wt:hp")) 4. └─olsrr:::ols_step_forward_p.default(...) 5. └─olsrr:::ols_step_final_model(model, response, include, l) ── Failure ('test-regress.R:782:3'): the data guard accepts ordinary unchanged fits (N03) ── Expected `suppressMessages(...)` not to throw any errors. Actually got a with message: the data used to fit this model has changed or cannot be found; refit the model. ── Error ('test-step-forward.R:165:3'): selection preserves the intercept and model offsets (H7) ── Error: the final model cannot reproduce the frozen-offset selection fit exactly; prediction with newdata is not supported for this model. Backtrace: ▆ 1. ├─olsrr::ols_step_forward_aic(mo, include = c("wt", "hp")) at test-step-forward.R:165:3 2. └─olsrr:::ols_step_forward_aic.default(mo, include = c("wt", "hp")) 3. └─olsrr:::ols_step_forward(...) 4. └─olsrr:::ols_step_final_model(model, response, include, l) ── Error ('test-step-forward.R:209:3'): selection keeps mixed formula and call offsets (H6) ── Error: the final model cannot reproduce the frozen-offset selection fit exactly; prediction with newdata is not supported for this model. Backtrace: ▆ 1. ├─olsrr::ols_step_forward_aic(m, include = c("wt", "hp", "wt:hp")) at test-step-forward.R:209:3 2. └─olsrr:::ols_step_forward_aic.default(...) 3. └─olsrr:::ols_step_forward(...) 4. └─olsrr:::ols_step_final_model(model, response, include, l) [ FAIL 19 | WARN 0 | SKIP 86 | PASS 3290 ] Deleting unused snapshots: 'visual/adjusted-rsquared-backward-regression-plot-details.svg', 'visual/adjusted-rsquared-backward-regression-plot.svg', 'visual/adjusted-rsquared-both-direction-regression-plot-details.svg', 'visual/adjusted-rsquared-both-direction-regression-plot.svg', 'visual/adjusted-rsquared-forward-regression-plot-details.svg', 'visual/adjusted-rsquared-forward-regression-plot.svg', 'visual/allplot-1.svg', 'visual/allplot-2.svg', 'visual/allplot-3.svg', 'visual/allplot-4.svg', 'visual/allplot-5.svg', 'visual/allplot-6.svg', 'visual/avplot-1.svg', 'visual/avplot-2.svg', 'visual/avplot-3.svg', 'visual/bestplot-1.svg', 'visual/bestplot-2.svg', 'visual/bestplot-3.svg', …, 'visual/stepaic-forward-regression-plot.svg', and 'visual/studres-1.svg' Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [49s/108s] OK * checking PDF version of manual ... [7s/15s] 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: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-MKL/olsrr.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 19:14.01, 390.41 + 14.95