* using log directory 'd:/Rcompile/CRANpkg/local/4.4/triplot.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'triplot/DESCRIPTION' ... OK * this is package 'triplot' version '1.3.0' * 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 'triplot' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [4s] 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 LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking examples ... [11s] ERROR Running examples in 'triplot-Ex.R' failed The error most likely occurred in: > ### 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: object properties are invalid: - @labels must be , not Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [20s] ERROR Running 'testthat.R' [19s] 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: object properties are invalid: - @labels must be , not 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: object properties are invalid: - @labels must be , not 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 ... [18s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 2 ERRORs, 1 NOTE