- using R version 4.5.1 (2025-06-13)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-5) 14.3.0
GNU Fortran (Debian 14.3.0-5) 14.3.0
- running under: Debian GNU/Linux forky/sid
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘Momocs’ 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 ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking whether startup messages can be suppressed ... [2s/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 ... [51s/64s] OK
- checking Rd files ... [3s/3s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
LDA.Rd: lda
img_plot.Rd: readJPEG
ldk_contour.Rd: kde2d
links_delaunay.Rd: delaunayn
plot.LDA.Rd: kde2d
plot.PCA.Rd: kde2d
reLDA.Rd: predict.lda
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
- 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/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [57s/72s] ERROR
Running examples in ‘Momocs-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
calibrate_deviations 6.153 0.019 7.342
calibrate_reconstructions 5.648 0.015 7.903
calibrate_harmonicpower 4.233 0.038 5.702
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/7s] OK
Running ‘testthat.R’ [6s/7s]
- checking PDF version of manual ... [35s/42s] OK
- checking HTML version of manual ... [14s/26s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE