- using R version 4.5.3 (2026-03-11 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'ggparty/DESCRIPTION' ... OK
- this is package 'ggparty' version '1.0.0.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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'ggparty' can be installed ... 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] OK
- checking whether the package can be loaded with stated dependencies ... [4s] OK
- checking whether the package can be unloaded cleanly ... [4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s] OK
- checking whether the namespace can be unloaded cleanly ... [5s] OK
- checking loading without being on the library search path ... [4s] 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 ... [11s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 ... [5s] ERROR
Running examples in 'ggparty-Ex.R' failed
The error most likely occurred in:
> ### Name: autoplot.party
> ### Title: autoplot methods for party objects
> ### Aliases: autoplot.party autoplot.constparty autoplot.modelparty
> ### autoplot.lmtree
>
> ### ** Examples
>
> library(ggparty)
>
> data("WeatherPlay", package = "partykit")
> sp_o <- partysplit(1L, index = 1:3)
> sp_h <- partysplit(3L, breaks = 75)
> sp_w <- partysplit(4L, index = 1:2)
> pn <- partynode(1L, split = sp_o, kids = list(
+ partynode(2L, split = sp_h, kids = list(
+ partynode(3L, info = "yes"),
+ partynode(4L, info = "no"))),
+ partynode(5L, info = "yes"),
+ partynode(6L, split = sp_w, kids = list(
+ partynode(7L, info = "yes"),
+ partynode(8L, info = "no")))))
> py <- party(pn, WeatherPlay)
>
> autoplot(py)
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::autoplot(py)
2. └─ggparty:::autoplot.party(py)
3. └─ggparty::ggparty(object)
4. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
5. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [51s] ERROR
Running 'testthat.R' [51s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(ggparty)
Loading required package: ggplot2
Loading required package: partykit
Loading required package: grid
Loading required package: libcoin
Loading required package: mvtnorm
>
> test_check("ggparty")
Saving _problems/test_structure-14.R
Saving _problems/test_visuals-11.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 91 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_structure.R:14:5'): valid structure ────────────────────────────
Error in `ggplot(data = plot_data, mapping = mapping)`: `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
Backtrace:
▆
1. └─ggparty::ggparty(party_object) at test_structure.R:14:5
2. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
3. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
4. └─ggplot2:::validate_mapping(mapping)
5. └─cli::cli_abort(msg, call = call)
6. └─rlang::abort(...)
── Error ('test_visuals.R:3:3'): plots drawn correctly ─────────────────────────
Error in `ggplot(data = plot_data, mapping = mapping)`: `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
Backtrace:
▆
1. ├─vdiffr::expect_doppelganger(...) at test_visuals.R:3:3
2. │ └─vdiffr (local) writer(fig, testcase, title)
3. │ └─vdiffr:::print_plot(plot, title)
4. └─ggparty::ggparty(py)
5. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
6. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
7. └─ggplot2:::validate_mapping(mapping)
8. └─cli::cli_abort(msg, call = call)
9. └─rlang::abort(...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 91 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [15s] ERROR
Error(s) in re-building vignettes:
--- re-building 'ggparty-graphic-partying.Rmd' using rmarkdown
Quitting from ggparty-graphic-partying.Rmd:41-122 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. └─ggparty::ggparty(...)
2. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
3. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ggparty-graphic-partying.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building 'ggparty-graphic-partying.Rmd'
--- re-building 'on-the-edge.Rmd' using rmarkdown
Quitting from on-the-edge.Rmd:55-61 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. └─ggparty::ggparty(py)
2. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
3. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'on-the-edge.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building 'on-the-edge.Rmd'
SUMMARY: processing the following files failed:
'ggparty-graphic-partying.Rmd' 'on-the-edge.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 3 ERRORs