Last updated on 2026-02-03 14:51:34 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.7 | 5.91 | 303.92 | 309.83 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.7 | 5.06 | 215.52 | 220.58 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.7 | 13.00 | 300.86 | 313.86 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.7 | 12.00 | 297.38 | 309.38 | ERROR | |
| r-devel-windows-x86_64 | 0.1.7 | 11.00 | 212.00 | 223.00 | OK | |
| r-patched-linux-x86_64 | 0.1.7 | 8.09 | 289.14 | 297.23 | OK | |
| r-release-linux-x86_64 | 0.1.7 | 6.36 | 289.26 | 295.62 | OK | |
| r-release-macos-arm64 | 0.1.7 | OK | ||||
| r-release-macos-x86_64 | 0.1.7 | 4.00 | 238.00 | 242.00 | OK | |
| r-release-windows-x86_64 | 0.1.7 | 10.00 | 214.00 | 224.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.7 | OK | ||||
| r-oldrel-macos-x86_64 | 0.1.7 | 4.00 | 166.00 | 170.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.7 | 13.00 | 277.00 | 290.00 | OK |
Version: 0.1.7
Check: examples
Result: ERROR
Running examples in ‘plotBart-Ex.R’ failed
The error most likely occurred in:
> ### Name: plot_balance
> ### Title: Plot the balance
> ### Aliases: plot_balance
>
> ### ** Examples
>
> data(lalonde)
> plot_balance(lalonde, 'treat', c('re78', 'age', 'educ')) + labs(title = 'My new title')
Error in `summarize()`:
ℹ In argument: `diff = mean - lag(mean)`.
ℹ In group 1: `name = "age"`.
Caused by error:
! `diff` must be size 1, not 2.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
▆
1. ├─plotBart::plot_balance(lalonde, "treat", c("re78", "age", "educ"))
2. │ └─... %>% ggplot(aes(x = diff, y = name, color = abs(diff)))
3. ├─ggplot2::ggplot(., aes(x = diff, y = name, color = abs(diff)))
4. ├─stats::na.omit(.)
5. ├─dplyr::summarize(., diff = mean - lag(mean), .groups = "drop")
6. ├─dplyr:::summarise.grouped_df(., diff = mean - lag(mean), .groups = "drop")
7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
8. │ └─base::withCallingHandlers(...)
9. ├─dplyr:::dplyr_internal_error(...)
10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
11. │ └─rlang:::signal_abort(cnd, .file)
12. │ └─base::signalCondition(cnd)
13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
14. └─dplyr (local) handler(cnd)
15. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [195s/207s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(vdiffr)
> library(plotBart)
Loading required package: bartCause
Loading required package: ggplot2
>
> test_check("plotBart") # run tests
fitting treatment model via method 'bart'
fitting response model via method 'bart'
fitting treatment model via method 'bart'
fitting response model via method 'bart'
fitting treatment model via method 'bart'
fitting response model via method 'bart'
Saving _problems/test_plots-20.R
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 5 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_plots.R:20:1'): (code run outside of `test_that()`) ────────────
Error in `summarize(., diff = mean - lag(mean), .groups = "drop")`: ℹ In argument: `diff = mean - lag(mean)`.
ℹ In group 1: `name = "age"`.
Caused by error:
! `diff` must be size 1, not 2.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
▆
1. ├─plotBart::plot_balance(...) at test_plots.R:20:1
2. │ └─... %>% ggplot(aes(x = diff, y = name, color = abs(diff)))
3. ├─ggplot2::ggplot(., aes(x = diff, y = name, color = abs(diff)))
4. ├─stats::na.omit(.)
5. ├─dplyr::summarize(., diff = mean - lag(mean), .groups = "drop")
6. ├─dplyr:::summarise.grouped_df(., diff = mean - lag(mean), .groups = "drop")
7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
8. │ └─base::withCallingHandlers(...)
9. ├─dplyr:::dplyr_internal_error(...)
10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
11. │ └─rlang:::signal_abort(cnd, .file)
12. │ └─base::signalCondition(cnd)
13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
14. └─dplyr (local) handler(cnd)
15. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 5 ]
Deleting unused snapshots: 'plots/balance.svg', 'plots/cate.svg',
'plots/mod-c-loess.svg', 'plots/mod-c-pd.svg', 'plots/mod-d-density.svg',
'plots/mod-d-linerange.svg', 'plots/mod-search.svg',
'plots/overlappscoresdensity.svg', 'plots/overlappscoreshist.svg',
'plots/overlapvarsdensity.svg', 'plots/overlapvarshist.svg', 'plots/pate.svg',
'plots/sate.svg', 'plots/supportchi.svg', 'plots/supportnone.svg',
'plots/supportsd.svg', 'plots/trace.svg', 'plots/waterfall1.svg', and
'plots/waterfall2.svg'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.7
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘modifying-plots.Rmd’ using rmarkdown
Quitting from modifying-plots.Rmd:23-33 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `summarize()`:
ℹ In argument: `diff = mean - lag(mean)`.
ℹ In group 1: `name = "age"`.
Caused by error:
! `diff` must be size 1, not 2.
ℹ To return more or less than 1 row per group, use `reframe()`.
---
Backtrace:
▆
1. ├─plotBart::plot_balance(...)
2. │ └─... %>% ggplot(aes(x = diff, y = name, color = abs(diff)))
3. ├─ggplot2::ggplot(., aes(x = diff, y = name, color = abs(diff)))
4. ├─stats::na.omit(.)
5. ├─dplyr::summarize(., diff = mean - lag(mean), .groups = "drop")
6. ├─dplyr:::summarise.grouped_df(., diff = mean - lag(mean), .groups = "drop")
7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
8. │ └─base::withCallingHandlers(...)
9. └─dplyr:::dplyr_internal_error(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'modifying-plots.Rmd' failed with diagnostics:
ℹ In argument: `diff = mean - lag(mean)`.
ℹ In group 1: `name = "age"`.
Caused by error:
! `diff` must be size 1, not 2.
ℹ To return more or less than 1 row per group, use `reframe()`.
--- failed re-building ‘modifying-plots.Rmd’
SUMMARY: processing the following file failed:
‘modifying-plots.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [187s/218s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(vdiffr)
> library(plotBart)
Loading required package: bartCause
Loading required package: ggplot2
>
> test_check("plotBart") # run tests
fitting treatment model via method 'bart'
fitting response model via method 'bart'
fitting treatment model via method 'bart'
fitting response model via method 'bart'
fitting treatment model via method 'bart'
fitting response model via method 'bart'
Saving _problems/test_plots-20.R
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 5 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_plots.R:20:1'): (code run outside of `test_that()`) ────────────
Error in `summarize(., diff = mean - lag(mean), .groups = "drop")`: ℹ In argument: `diff = mean - lag(mean)`.
ℹ In group 1: `name = "age"`.
Caused by error:
! `diff` must be size 1, not 2.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
▆
1. ├─plotBart::plot_balance(...) at test_plots.R:20:1
2. │ └─... %>% ggplot(aes(x = diff, y = name, color = abs(diff)))
3. ├─ggplot2::ggplot(., aes(x = diff, y = name, color = abs(diff)))
4. ├─stats::na.omit(.)
5. ├─dplyr::summarize(., diff = mean - lag(mean), .groups = "drop")
6. ├─dplyr:::summarise.grouped_df(., diff = mean - lag(mean), .groups = "drop")
7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
8. │ └─base::withCallingHandlers(...)
9. ├─dplyr:::dplyr_internal_error(...)
10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
11. │ └─rlang:::signal_abort(cnd, .file)
12. │ └─base::signalCondition(cnd)
13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
14. └─dplyr (local) handler(cnd)
15. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 5 ]
Deleting unused snapshots: 'plots/balance.svg', 'plots/cate.svg',
'plots/mod-c-loess.svg', 'plots/mod-c-pd.svg', 'plots/mod-d-density.svg',
'plots/mod-d-linerange.svg', 'plots/mod-search.svg',
'plots/overlappscoresdensity.svg', 'plots/overlappscoreshist.svg',
'plots/overlapvarsdensity.svg', 'plots/overlapvarshist.svg', 'plots/pate.svg',
'plots/sate.svg', 'plots/supportchi.svg', 'plots/supportnone.svg',
'plots/supportsd.svg', 'plots/trace.svg', 'plots/waterfall1.svg', and
'plots/waterfall2.svg'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc