- using R Under development (unstable) (2025-09-10 r88809)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b2)
Debian flang-new version 19.1.7 (3+b2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘triplot/DESCRIPTION’ ... OK
- this is package ‘triplot’ version ‘1.3.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] NOTE
Maintainer: ‘Katarzyna Pekala <katarzyna.pekala@gmail.com>’
The Description field contains
models. Find more details in Biecek (2018) <arXiv:1806.08915>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- 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 ‘triplot’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/5s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/5s] OK
- checking loading without being on the library search path ... [3s/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 ... [19s/27s] OK
- checking Rd files ... [0s/0s] 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 LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking examples ... [9s/12s] ERROR
Running examples in ‘triplot-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot.triplot
> ### Title: Plots triplot
> ### Aliases: plot.triplot
>
> ### ** Examples
>
> library(DALEX)
Welcome to DALEX (version: 2.5.2).
Find examples and detailed introduction at: http://ema.drwhy.ai/
Additional features will be available after installation of: ggpubr.
Use 'install_dependencies()' to get all suggested dependencies
> set.seed(123)
> apartments_num <- apartments[,unlist(lapply(apartments, is.numeric))]
> apartments_num_lm_model <- lm(m2.price ~ ., data = apartments_num)
> apartments_num_new_observation <- apartments_num[30, ]
> explainer_apartments <- explain(model = apartments_num_lm_model,
+ data = apartments_num[,-1],
+ y = apartments_num[, 1],
+ verbose = FALSE)
> apartments_tri <- calculate_triplot(x = explainer_apartments,
+ new_observation = apartments_num_new_observation[-1])
> plot(apartments_tri)
Error: <ggplot2::ggplot> object properties are invalid:
- @labels must be <ggplot2::labels>, not <character>
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [18s/24s] ERROR
Running ‘testthat.R’ [17s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(triplot)
>
> test_check("triplot")
Welcome to DALEX (version: 2.5.2).
Find examples and detailed introduction at: http://ema.drwhy.ai/
Additional features will be available after installation of: ggpubr.
Use 'install_dependencies()' to get all suggested dependencies
[ FAIL 2 | WARN 3 | SKIP 0 | PASS 74 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_triplot.R:86:3'): check plot.calculate_triplot function ────────
Error: <ggplot2::ggplot> object properties are invalid:
- @labels must be <ggplot2::labels>, not <character>
Backtrace:
▆
1. ├─base::plot(apartments_tri) at test_triplot.R:86:3
2. └─triplot:::plot.triplot(apartments_tri)
3. └─S7:::Ops.S7_object(p3, theme(axis.title = element_text(size = axis_lab_size)))
4. ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─base_ops[[.Generic]](e1, e2)
9. ├─S7::S7_dispatch()
10. └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
11. └─ggplot2:::add_ggplot(e1, e2, e2name)
12. ├─ggplot2::ggplot_add(object, p, objectname)
13. └─ggplot2:::ggplot_add.default(object, p, objectname)
14. └─ggplot2::update_ggplot(object = object, plot = plot, ...)
15. ├─S7::S7_dispatch()
16. └─ggplot2 (local) `method(update_ggplot, list(ggplot2::theme, ggplot2::ggplot))`(...)
17. └─S7::set_props(plot, theme = add_theme(plot@theme, object))
18. └─S7::`props<-`(`*tmp*`, value = list(...))
19. └─S7::validate(object)
── Error ('test_triplot.R:112:3'): check plot.calculate_triplot function for FI ──
Error: <ggplot2::ggplot> object properties are invalid:
- @labels must be <ggplot2::labels>, not <character>
Backtrace:
▆
1. ├─base::plot(apartments_tri, abbrev_labels = 5) at test_triplot.R:112:3
2. └─triplot:::plot.triplot(apartments_tri, abbrev_labels = 5)
3. └─S7:::Ops.S7_object(p3, theme(axis.title = element_text(size = axis_lab_size)))
4. ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─base_ops[[.Generic]](e1, e2)
9. ├─S7::S7_dispatch()
10. └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
11. └─ggplot2:::add_ggplot(e1, e2, e2name)
12. ├─ggplot2::ggplot_add(object, p, objectname)
13. └─ggplot2:::ggplot_add.default(object, p, objectname)
14. └─ggplot2::update_ggplot(object = object, plot = plot, ...)
15. ├─S7::S7_dispatch()
16. └─ggplot2 (local) `method(update_ggplot, list(ggplot2::theme, ggplot2::ggplot))`(...)
17. └─S7::set_props(plot, theme = add_theme(plot@theme, object))
18. └─S7::`props<-`(`*tmp*`, value = list(...))
19. └─S7::validate(object)
[ FAIL 2 | WARN 3 | SKIP 0 | PASS 74 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [6s/9s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE