* using log directory 'd:/Rcompile/CRANpkg/local/4.4/metrica.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 'metrica/DESCRIPTION' ... OK * this is package 'metrica' version '2.1.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 'metrica' can be installed ... OK * checking installed package size ... OK * 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] 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 ... [16s] OK * checking Rd files ... [3s] 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 ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [14s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [23s] OK Running 'testthat.R' [23s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [43s] ERROR Error(s) in re-building vignettes: --- re-building 'Cheatsheet.Rmd' using rmarkdown --- finished re-building 'Cheatsheet.Rmd' --- re-building 'JOSS_publication.Rmd' using rmarkdown --- finished re-building 'JOSS_publication.Rmd' --- re-building 'Shinyapp.Rmd' using rmarkdown --- finished re-building 'Shinyapp.Rmd' --- re-building 'apsim_open.Rmd' using rmarkdown --- finished re-building 'apsim_open.Rmd' --- re-building 'available_metrics_classification.Rmd' using rmarkdown --- finished re-building 'available_metrics_classification.Rmd' --- re-building 'available_metrics_regression.Rmd' using rmarkdown --- finished re-building 'available_metrics_regression.Rmd' --- re-building 'classification_case.Rmd' using rmarkdown Quitting from classification_case.Rmd:342-353 [multiple_models unnested summarise] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `dplyr::summarise()`: ℹ In argument: `metrics_summary(obs = actual, pred = predicted, type = "classification")`. ℹ In group 1: `id = "fold_1"`. Caused by error: ! `metrics_summary(obs = actual, pred = predicted, type = "classification")` must be size 1, not 27. ℹ To return more or less than 1 row per group, use `reframe()`. --- Backtrace: ▆ 1. ├─... %>% dplyr::arrange(Metric) 2. ├─dplyr::arrange(., Metric) 3. ├─dplyr::summarise(...) 4. ├─dplyr:::summarise.grouped_df(., metrics_summary(obs = actual, pred = predicted, type = "classification")) 5. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 6. │ └─base::withCallingHandlers(...) 7. └─dplyr:::dplyr_internal_error(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'classification_case.Rmd' failed with diagnostics: ℹ In argument: `metrics_summary(obs = actual, pred = predicted, type = "classification")`. ℹ In group 1: `id = "fold_1"`. Caused by error: ! `metrics_summary(obs = actual, pred = predicted, type = "classification")` must be size 1, not 27. ℹ To return more or less than 1 row per group, use `reframe()`. --- failed re-building 'classification_case.Rmd' --- re-building 'regression_case.Rmd' using rmarkdown --- finished re-building 'regression_case.Rmd' SUMMARY: processing the following file failed: 'classification_case.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [19s] OK * DONE Status: 1 ERROR