- using R Under development (unstable) (2025-09-11 r88810)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 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 ‘Momocs’ can be installed ... [40s/53s] OK
See the install log for details.
- 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 ... 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 whether startup messages can be suppressed ... 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 ... [78s/96s] 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 examples ... [93s/113s] 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 <https://github.com/MomX/Momocs/issues>.
Warning: The `<scale>` 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 <https://github.com/MomX/Momocs/issues>.
> 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: %$% -> <Anonymous> -> with.default -> eval
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/11s] OK
Running ‘testthat.R’ [8s/10s]
- checking PDF version of manual ... [41s/49s] OK
- checking HTML version of manual ... [22s/37s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR