* using log directory 'd:/Rcompile/CRANpkg/local/4.4/Momocs.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 'Momocs/DESCRIPTION' ... OK * this is package 'Momocs' version '1.4.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 'Momocs' 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [45s] OK * checking Rd files ... [6s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [135s] ERROR Running examples in 'Momocs-Ex.R' failed The error most likely occurred in: > ### Name: plot_CV > ### Title: Plots a cross-validation table as an heatmap > ### Aliases: plot_CV plot_CV.default plot_CV.LDA > > ### ** Examples > > h <- hearts %>% + fgProcrustes(0.01) %>% coo_slide(ldk=2) %T>% stack %>% + efourier(6, norm=FALSE) %>% LDA(~aut) iteration: 1 gain: 30322 iteration: 2 gain: 1.2498 iteration: 3 gain: 0.34194 iteration: 4 gain: 0.0062954 > > h %>% plot_CV() Warning: The `size` argument of `element_line()` is deprecated as of ggplot2 3.4.0. ℹ Please use the `linewidth` argument instead. ℹ The deprecated feature was likely used in the Momocs package. Please report the issue at . Warning: The `` argument of `guides()` cannot be `FALSE`. Use "none" instead as of ggplot2 3.3.4. ℹ The deprecated feature was likely used in the Momocs package. Please report the issue at . > h %>% plot_CV(freq=FALSE, rm0=FALSE, fill=FALSE) > # you can customize the returned gg with some ggplot2 functions > h %>% plot_CV(labels=FALSE, fill=TRUE, axis.size=5) + ggplot2::ggtitle("A confusion matrix") > > # or build your own using the prepared data_frame: > df <- h %>% plot_CV() %$% data Error in eval(substitute(expr), data, enclos = parent.frame()) : invalid 'envir' argument of type 'object' Calls: %$% -> -> with.default -> eval Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [8s] OK Running 'testthat.R' [7s] * checking PDF version of manual ... [55s] OK * checking HTML version of manual ... [52s] OK * DONE Status: 1 ERROR