Last updated on 2026-04-23 19:52:09 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.4.0 | 14.36 | 432.87 | 447.23 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.4.0 | 10.57 | 349.63 | 360.20 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.4.0 | 25.00 | 622.75 | 647.75 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.4.0 | 25.00 | 625.48 | 650.48 | ERROR | |
| r-devel-macos-arm64 | 1.4.0 | 3.00 | 109.00 | 112.00 | OK | |
| r-devel-windows-x86_64 | 1.4.0 | 15.00 | 382.00 | 397.00 | OK | |
| r-patched-linux-x86_64 | 1.4.0 | 14.22 | 409.97 | 424.19 | OK | |
| r-release-linux-x86_64 | 1.4.0 | 13.41 | 403.85 | 417.26 | OK | |
| r-release-macos-arm64 | 1.4.0 | 4.00 | 106.00 | 110.00 | OK | |
| r-release-macos-x86_64 | 1.4.0 | 9.00 | 265.00 | 274.00 | OK | |
| r-release-windows-x86_64 | 1.4.0 | 14.00 | 363.00 | 377.00 | OK | |
| r-oldrel-macos-arm64 | 1.4.0 | 3.00 | 110.00 | 113.00 | OK | |
| r-oldrel-macos-x86_64 | 1.4.0 | 10.00 | 521.00 | 531.00 | OK | |
| r-oldrel-windows-x86_64 | 1.4.0 | 21.00 | 511.00 | 532.00 | OK |
Version: 1.4.0
Check: examples
Result: ERROR
Running examples in ‘bregr-Ex.R’ failed
The error most likely occurred in:
> ### Name: br_show_forest_ggstatsplot
> ### Title: Show a forest plot with 'ggstatsplot' interface
> ### Aliases: br_show_forest_ggstatsplot
>
> ### ** Examples
>
> if (rlang::is_installed("ggstats")) {
+ m <- br_pipeline(mtcars,
+ y = "mpg",
+ x = colnames(mtcars)[2:4],
+ x2 = "vs",
+ method = "gaussian"
+ )
+ br_show_forest_ggstatsplot(m)
+ }
Error in br_show_forest_ggstatsplot(m) :
The package "ggstatsplot" is required.
Calls: br_show_forest_ggstatsplot -> <Anonymous>
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [220s/600s]
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(bregr)
Welcome to 'bregr' package!
=======================================================================
You are using bregr version 1.4.0
Project home : https://github.com/WangLabCSU/bregr
Documentation: https://wanglabcsu.github.io/bregr/
Cite as : https://doi.org/10.1002/mdr2.70028
Wang, S., Peng, Y., Shu, C., Wang, C., Yang, Y., Zhao, Y., Cui, Y., Hu, D. and Zhou, J.-G. (2025),
bregr: An R Package for Streamlined Batch Processing and Visualization of Biomedical Regression Models. Med Research.
=======================================================================
>
> test_check("bregr")
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
filtered variables: "x2" and "x3"
filtered variables: "x2"
Pre-filtering removed 2 out of 2 focal variables (100%)
filtered variables: "x1" and "x2"
filtered variables: "x2"
filtered variables: "x2"
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
`idx` not set, use the first model
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
`idx` not set, use the first model
`idx` not set, use the first model
`idx` not set, use the first model
exponentiate estimates of model(s) constructed from coxph method at default
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
`idx` not set, use the first model
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
`type` is not specified, use lp for the model
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
`idx` not set, use the first model
`type` is not specified, use response for the model
`idx` not set, use the first model
Saving _problems/test-roxytest-testexamples-04-show-45.R
subset model list with idx: 1
model call: stats::glm(formula = mpg ~ cyl + vs, family = stats::gaussian, data = data)
model call: stats::glm(formula = mpg ~ cyl + vs, family = stats::gaussian, data = data)
exponentiate estimates of model(s) constructed from coxph method at default
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
`idx` not set, use the first model
exponentiate estimates of model(s) constructed from coxph method at default
Loading required namespace: ggnewscale
please note only continuous focal terms analyzed and visualized
exponentiate estimates of model(s) constructed from coxph method at default
-- Model Diagnostics Summary ---------------------------------------------------
-- Model: "ph.ecog" (coxph) --
Sample size: 227
Events: 164
Log-likelihood: -729.23
Concordance: 12544, 7117, 126, 28, 0, 0.637, and 0.025
Proportional Hazards Test (Schoenfeld Residuals):
+ ph.ecog: χ² = 2.054, df = 1, p = 0.152
+ age: χ² = 0.188, df = 1, p = 0.665
+ sex: χ² = 2.305, df = 1, p = 0.129
Global test: p = 0.216 - Assumption + SATISFIED
-- Model: "ph.karno" (coxph) --
Sample size: 227
Events: 164
Log-likelihood: -735.078
Concordance: 12578, 7145, 65, 28, 0, 0.637, and 0.025
Proportional Hazards Test (Schoenfeld Residuals):
x ph.karno: χ² = 8.017, df = 1, p = 0.00463
+ age: χ² = 0.478, df = 1, p = 0.489
+ sex: χ² = 3.085, df = 1, p = 0.079
Global test: p = 0.0157 - Assumption x VIOLATED
-- Model: "pat.karno" (coxph) --
Sample size: 225
Events: 162
Log-likelihood: -721.587
Concordance: 12343, 6957, 57, 26, 0, 0.639, and 0.025
Proportional Hazards Test (Schoenfeld Residuals):
x pat.karno: χ² = 4.226, df = 1, p = 0.0398
+ age: χ² = 0.054, df = 1, p = 0.817
+ sex: χ² = 2.752, df = 1, p = 0.0971
Global test: p = 0.0819 - Assumption + SATISFIED
-- Model: "meal.cal" (coxph) --
Sample size: 181
Events: 134
Log-likelihood: -573.568
Concordance: 7761, 5080, 7, 17, 0, 0.604, and 0.029
Proportional Hazards Test (Schoenfeld Residuals):
x meal.cal: χ² = 4.65, df = 1, p = 0.031
+ age: χ² = 0.622, df = 1, p = 0.43
+ sex: χ² = 1.481, df = 1, p = 0.224
Global test: p = 0.0942 - Assumption + SATISFIED
-- Model: "wt.loss" (coxph) --
Sample size: 214
Events: 152
Log-likelihood: -673.056
Concordance: 10531, 6672, 10, 22, 0, 0.612, and 0.027
Proportional Hazards Test (Schoenfeld Residuals):
+ wt.loss: χ² = 0.014, df = 1, p = 0.904
+ age: χ² = 0.508, df = 1, p = 0.476
+ sex: χ² = 2.549, df = 1, p = 0.11
Global test: p = 0.391 - Assumption + SATISFIED
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
`idx` not set, use the first model
[ FAIL 1 | WARN 1 | SKIP 6 | PASS 127 ]
══ Skipped tests (6) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-nomogram-interactions.R:2:3'
• empty test (5): 'test-roxytest-testexamples-02-pipeline.R:5:1',
'test-roxytest-testexamples-03-accessors.R:5:1',
'test-roxytest-testexamples-04-show.R:5:1',
'test-roxytest-testexamples-04-show.R:201:1',
'test-roxytest-testexamples-05-polar.R:5:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-roxytest-testexamples-04-show.R:45:5'): Function br_show_forest_ggstatsplot() @ L345 ──
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `br_show_forest_ggstatsplot(m)`: The package "ggstatsplot" is required.
Backtrace:
▆
1. └─bregr::br_show_forest_ggstatsplot(m) at test-roxytest-testexamples-04-show.R:45:5
2. └─rlang::check_installed("ggstatsplot")
[ FAIL 1 | WARN 1 | SKIP 6 | PASS 127 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [220s/489s]
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(bregr)
Welcome to 'bregr' package!
=======================================================================
You are using bregr version 1.4.0
Project home : https://github.com/WangLabCSU/bregr
Documentation: https://wanglabcsu.github.io/bregr/
Cite as : https://doi.org/10.1002/mdr2.70028
Wang, S., Peng, Y., Shu, C., Wang, C., Yang, Y., Zhao, Y., Cui, Y., Hu, D. and Zhou, J.-G. (2025),
bregr: An R Package for Streamlined Batch Processing and Visualization of Biomedical Regression Models. Med Research.
=======================================================================
>
> test_check("bregr")
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
filtered variables: "x2" and "x3"
filtered variables: "x2"
Pre-filtering removed 2 out of 2 focal variables (100%)
filtered variables: "x1" and "x2"
filtered variables: "x2"
filtered variables: "x2"
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
`idx` not set, use the first model
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
`idx` not set, use the first model
`idx` not set, use the first model
`idx` not set, use the first model
exponentiate estimates of model(s) constructed from coxph method at default
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
`idx` not set, use the first model
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
`type` is not specified, use lp for the model
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
`idx` not set, use the first model
`type` is not specified, use response for the model
`idx` not set, use the first model
Saving _problems/test-roxytest-testexamples-04-show-45.R
subset model list with idx: 1
model call: stats::glm(formula = mpg ~ cyl + vs, family = stats::gaussian, data = data)
model call: stats::glm(formula = mpg ~ cyl + vs, family = stats::gaussian, data = data)
exponentiate estimates of model(s) constructed from coxph method at default
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
Cox model: intercept term present but no intercept coefficient (as expected for semi-parametric models)
`idx` not set, use the first model
exponentiate estimates of model(s) constructed from coxph method at default
Loading required namespace: ggnewscale
please note only continuous focal terms analyzed and visualized
exponentiate estimates of model(s) constructed from coxph method at default
-- Model Diagnostics Summary ---------------------------------------------------
-- Model: "ph.ecog" (coxph) --
Sample size: 227
Events: 164
Log-likelihood: -729.23
Concordance: 12544, 7117, 126, 28, 0, 0.637, and 0.025
Proportional Hazards Test (Schoenfeld Residuals):
+ ph.ecog: χ² = 2.054, df = 1, p = 0.152
+ age: χ² = 0.188, df = 1, p = 0.665
+ sex: χ² = 2.305, df = 1, p = 0.129
Global test: p = 0.216 - Assumption + SATISFIED
-- Model: "ph.karno" (coxph) --
Sample size: 227
Events: 164
Log-likelihood: -735.078
Concordance: 12578, 7145, 65, 28, 0, 0.637, and 0.025
Proportional Hazards Test (Schoenfeld Residuals):
x ph.karno: χ² = 8.017, df = 1, p = 0.00463
+ age: χ² = 0.478, df = 1, p = 0.489
+ sex: χ² = 3.085, df = 1, p = 0.079
Global test: p = 0.0157 - Assumption x VIOLATED
-- Model: "pat.karno" (coxph) --
Sample size: 225
Events: 162
Log-likelihood: -721.587
Concordance: 12343, 6957, 57, 26, 0, 0.639, and 0.025
Proportional Hazards Test (Schoenfeld Residuals):
x pat.karno: χ² = 4.226, df = 1, p = 0.0398
+ age: χ² = 0.054, df = 1, p = 0.817
+ sex: χ² = 2.752, df = 1, p = 0.0971
Global test: p = 0.0819 - Assumption + SATISFIED
-- Model: "meal.cal" (coxph) --
Sample size: 181
Events: 134
Log-likelihood: -573.568
Concordance: 7761, 5080, 7, 17, 0, 0.604, and 0.029
Proportional Hazards Test (Schoenfeld Residuals):
x meal.cal: χ² = 4.65, df = 1, p = 0.031
+ age: χ² = 0.622, df = 1, p = 0.43
+ sex: χ² = 1.481, df = 1, p = 0.224
Global test: p = 0.0942 - Assumption + SATISFIED
-- Model: "wt.loss" (coxph) --
Sample size: 214
Events: 152
Log-likelihood: -673.056
Concordance: 10531, 6672, 10, 22, 0, 0.612, and 0.027
Proportional Hazards Test (Schoenfeld Residuals):
+ wt.loss: χ² = 0.014, df = 1, p = 0.904
+ age: χ² = 0.508, df = 1, p = 0.476
+ sex: χ² = 2.549, df = 1, p = 0.11
Global test: p = 0.391 - Assumption + SATISFIED
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
Building univariate models...
exponentiate estimates of model(s) constructed from coxph method at default
Building multivariate model...
exponentiate estimates of model(s) constructed from coxph method at default
exponentiate estimates of model(s) constructed from coxph method at default
`idx` not set, use the first model
`idx` not set, use the first model
[ FAIL 1 | WARN 1 | SKIP 6 | PASS 127 ]
══ Skipped tests (6) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-nomogram-interactions.R:2:3'
• empty test (5): 'test-roxytest-testexamples-02-pipeline.R:5:1',
'test-roxytest-testexamples-03-accessors.R:5:1',
'test-roxytest-testexamples-04-show.R:5:1',
'test-roxytest-testexamples-04-show.R:201:1',
'test-roxytest-testexamples-05-polar.R:5:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-roxytest-testexamples-04-show.R:45:5'): Function br_show_forest_ggstatsplot() @ L345 ──
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `br_show_forest_ggstatsplot(m)`: The package "ggstatsplot" is required.
Backtrace:
▆
1. └─bregr::br_show_forest_ggstatsplot(m) at test-roxytest-testexamples-04-show.R:45:5
2. └─rlang::check_installed("ggstatsplot")
[ FAIL 1 | WARN 1 | SKIP 6 | PASS 127 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc