- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.7 (1)
Debian flang version 21.1.7 (1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘parttree/DESCRIPTION’ ... OK
- this is package ‘parttree’ version ‘0.1.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] 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 whether package ‘parttree’ 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] 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 ... [5s/7s] 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 ... [2s/3s] ERROR
Running examples in ‘parttree-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: geom_parttree
> ### Title: Visualize tree partitions with ggplot2
> ### Aliases: geom_parttree
>
> ### ** Examples
>
> # install.packages("ggplot2")
> library(ggplot2) # ggplot2 must be installed/loaded separately
>
> library(parttree) # this package
> library(rpart) # decision trees
> ## Don't show:
> data.table::setDTthreads(2)
> ## End(Don't show)
> #
> ## Simple decision tree (max of two predictor variables)
>
> iris_tree = rpart(Species ~ Petal.Length + Petal.Width, data=iris)
>
> # Plot with original iris data only
> p = ggplot(data = iris, aes(x = Petal.Length, y = Petal.Width)) +
+ geom_point(aes(col = Species))
>
> # Add tree partitions to the plot (borders only)
> p + geom_parttree(data = iris_tree)
Error in `[.data.table`(part_dt, , `:=`(path, paste(variable, side, split, :
attempt access index 5/5 in VECTOR_ELT
Calls: geom_parttree -> parttree -> parttree.rpart -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/5s] ERROR
Running ‘tinytest.R’ [3s/4s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ Sys.setenv("OMP_THREAD_LIMIT" = 2) # https://github.com/Rdatatable/data.table/issues/5658
+ tinytest::test_package("parttree")
+ }
test_ctree.R.................. 0 tests Loading required package: partykit
Loading required package: grid
Loading required package: libcoin
Loading required package: mvtnorm
test_ctree.R.................. 1 tests [0;32mOK [0m [0;34m2.6s [0m
Loading required package: mlr3
Error in `[.data.table`(part_dt, , `:=`(path, paste(variable, side, split, :
attempt access index 5/5 in VECTOR_ELT
Calls: <Anonymous> ... parttree.LearnerClassifRpart -> parttree.rpart -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [28s/38s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘parttree-art.Rmd’ using rmarkdown
Quitting from parttree-art.Rmd:168-182 [rosalba_abstract]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 5/5 in VECTOR_ELT
---
Backtrace:
▆
1. └─base::lapply(trees, parttree)
2. ├─parttree (local) FUN(X[[i]], ...)
3. └─parttree:::parttree.rpart(X[[i]], ...)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'parttree-art.Rmd' failed with diagnostics:
attempt access index 5/5 in VECTOR_ELT
--- failed re-building ‘parttree-art.Rmd’
--- re-building ‘parttree-intro.Rmd’ using rmarkdown
Quitting from parttree-intro.Rmd:70-73 [penguin_cl_plot]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 5/5 in VECTOR_ELT
---
Backtrace:
▆
1. ├─parttree::parttree(tree)
2. └─parttree:::parttree.rpart(tree)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'parttree-intro.Rmd' failed with diagnostics:
attempt access index 5/5 in VECTOR_ELT
--- failed re-building ‘parttree-intro.Rmd’
SUMMARY: processing the following files failed:
‘parttree-art.Rmd’ ‘parttree-intro.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 3 ERRORs