* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/aihuman.Rcheck’ * using R Under development (unstable) (2025-12-20 r89211) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘aihuman/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘aihuman’ version ‘1.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 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 ‘aihuman’ can be installed ... [64s/53s] OK * used C++ compiler: ‘g++ (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)’ * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [23s/23s] OK * checking Rd files ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [26s/26s] OK * checking examples with --run-donttest ... [33m/34m] ERROR Running examples in ‘aihuman-Ex.R’ failed The error most likely occurred in: > ### Name: PlotOptimalDecision > ### Title: Plot optimal decision > ### Aliases: PlotOptimalDecision > > ### ** Examples > > ## No test: > data(synth) > sample_mcmc <- AiEvalmcmc(data = synth, n.mcmc = 10) 10/10 done. > sample_optd <- CalOptimalDecision( + data = synth, mcmc.re = sample_mcmc, + c0.ls = seq(0, 5, 1), c1.ls = seq(0, 5, 1), + size = 1 + ) # adjust the size Increase the size. > sample_optd$cash <- sample_optd$d1 + sample_optd$d2 + sample_optd$d3 > PlotOptimalDecision(sample_optd, "cash") Warning: Contour data has duplicated x, y coordinates. ℹ 35964 duplicated rows have been dropped. Warning: The following aesthetics were dropped during statistical transformation: fill. ℹ This can happen when ggplot fails to infer the correct grouping structure in the data. ℹ Did you forget to specify a `group` aesthetic or to convert a numerical variable into a factor? Warning: The following aesthetics were dropped during statistical transformation: fill. ℹ This can happen when ggplot fails to infer the correct grouping structure in the data. ℹ Did you forget to specify a `group` aesthetic or to convert a numerical variable into a factor? Error in `geom_text_contour()`: ! Problem while converting geom to grob. ℹ Error occurred in the 3rd layer. Caused by error in `[.data.table`: ! attempt access index 18/18 in VECTOR_ELT Backtrace: ▆ 1. ├─base (local) ``(x) 2. ├─ggplot2 (local) `print.ggplot2::ggplot`(x) 3. │ ├─ggplot2::ggplot_gtable(data) 4. │ └─ggplot2 (local) `ggplot_gtable.ggplot2::ggplot_built`(data) 5. │ └─ggplot2:::by_layer(...) 6. │ ├─rlang::try_fetch(...) 7. │ │ ├─base::tryCatch(...) 8. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 13. │ └─l$draw_geom(d, layout) 14. │ └─ggplot2 (local) draw_geom(..., self = self) 15. │ └─self$geom$draw_layer(...) 16. │ └─ggplot2 (local) draw_layer(..., self = self) 17. │ └─base::lapply(...) 18. │ └─ggplot2 (local) FUN(X[[i]], ...) 19. │ ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params)) 20. │ └─self$draw_panel(...) 21. │ └─metR (local) draw_panel(...) 22. │ ├─data[, `:=`(N, .N), by = .(group, piece)] 23. │ └─data.table:::`[.data.table`(...) 24. └─base::.handleSimpleError(...) 25. └─rlang (local) h(simpleError(msg, call)) 26. └─handlers[[1L]](cnd) 27. └─cli::cli_abort(...) 28. └─rlang::abort(...) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [136s/137s] OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/aihuman.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 38:51.54, 2298.32 + 28.87