* using log directory 'd:/Rcompile/CRANpkg/local/4.5/eCerto.Rcheck' * using R version 4.5.1 (2025-06-13 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'eCerto/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'eCerto' version '0.8.5' * 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 'eCerto' 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [1s] 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 examples ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [14s] ERROR Running 'testthat.R' [14s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(eCerto) > > # setting this variable will suppress most eCerto message calls > Sys.setenv("GOLEM_CONFIG_ACTIVE"="default") > > ## run all tests similar to Ctrl+Shift+T in RStudio > # testthat::test_check(package = "eCerto", reporter=c("minimal", "location")) > > ## check for the code covered by test functions > # x <- covr::package_coverage(quiet = FALSE, function_exclusions = "page_*") > # covr::zero_coverage(x = x) > # covr::function_coverage(fun = eCerto:::app_server) > # covr::function_coverage(fun = eCerto:::list2rv, code = source("tests/testthat/test-list2rv.R")) > > ## tests with snaps fail upon "RCHECK" while being successful in "test_check" > ## setting R_TESTS avoids this problem > Sys.setenv(R_TESTS="") > > ## run all tests > # testthat::test_dir(path = "./tests/testthat") > testthat::test_dir(path = "./testthat") ✔ | F W S OK | Context ⠏ | 0 | ExcelUpload ⠋ | 1 | ExcelUpload ⠸ | 4 | ExcelUpload ⠦ | 7 | ExcelUpload ✔ | 7 | ExcelUpload [1.9s] ⠏ | 0 | RData_export ⠙ | 2 | RData_export ✔ | 2 | RData_export ⠏ | 0 | Rdata_import ⠋ | 1 | Rdata_import ⠧ | 8 | Rdata_import ⠋ | 11 | Rdata_import ✔ | 12 | Rdata_import ⠏ | 0 | app_inits ✔ | 3 | app_inits ⠏ | 0 | app_utils ⠙ | 2 | app_utils ⠹ | 3 | app_utils ⠸ | 4 | app_utils ⠋ | 11 | app_utils ✔ | 13 | app_utils ⠏ | 0 | certification ⠋ | 1 | certification ✔ | 2 | certification [1.2s] ⠏ | 0 | fnc_CertValPlot ⠹ | 3 | fnc_CertValPlot ✔ | 1 3 | fnc_CertValPlot ⠏ | 0 | fnc_assert_col ✔ | 9 | fnc_assert_col ⠏ | 0 | fnc_calc_time_diff ✔ | 6 | fnc_calc_time_diff ⠏ | 0 | fnc_check_fmt_Vdata ✔ | 1 | fnc_check_fmt_Vdata ⠏ | 0 | fnc_digits_DIN1333 ✔ | 1 | fnc_digits_DIN1333 ⠏ | 0 | fnc_flt_Vdata ✔ | 5 | fnc_flt_Vdata ⠏ | 0 | fnc_get_local_file ⠴ | 6 | fnc_get_local_file ✔ | 7 | fnc_get_local_file ⠏ | 0 | fnc_plot_lts_data ⠧ | 1 7 | fnc_plot_lts_data ✔ | 2 7 | fnc_plot_lts_data ⠏ | 0 | fnc_prepFigS1 ✔ | 4 | fnc_prepFigS1 ⠏ | 0 | fnc_prepFigS2 ✔ | 6 | fnc_prepFigS2 ⠏ | 0 | fnc_prepFigS3 ✔ | 1 | fnc_prepFigS3 ⠏ | 0 | fnc_prepFigV2 ⠋ | 1 0 | fnc_prepFigV2 ✔ | 1 0 | fnc_prepFigV2 ⠏ | 0 | fnc_prepFigV3 ✔ | 1 0 | fnc_prepFigV3 ⠏ | 0 | fnc_prepTabC0 ✔ | 3 | fnc_prepTabC0 ⠏ | 0 | fnc_prepTabC1 ⠋ | 1 | fnc_prepTabC1 ✔ | 3 | fnc_prepTabC1 ⠏ | 0 | fnc_prepTabC2 ✔ | 4 | fnc_prepTabC2 ⠏ | 0 | fnc_prepTabH1 ✔ | 10 | fnc_prepTabH1 ⠏ | 0 | fnc_read_lts_input ⠋ | 1 | fnc_read_lts_input ⠸ | 4 | fnc_read_lts_input ✔ | 4 | fnc_read_lts_input ⠏ | 0 | fnc_read_xlsx ⠋ | 1 | fnc_read_xlsx ⠼ | 5 | fnc_read_xlsx ✔ | 10 | fnc_read_xlsx ⠏ | 0 | fnc_read_zenodo ⠋ | 1 0 | fnc_read_zenodo ⠙ | 1 1 0 | fnc_read_zenodo ✖ | 3 1 1 | fnc_read_zenodo ──────────────────────────────────────────────────────────────────────────────── Warning ('test-fnc_read_zenodo.R:5:7'): read_zenodo works Sorry, could not find this Zenodo ID. :/ Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-fnc_read_zenodo.R:4:5 2. │ └─base::withCallingHandlers(...) 3. └─eCerto:::read_zenodo(id = "8380870") at test-fnc_read_zenodo.R:5:7 4. └─eCerto:::warning_or_modal(x = "Sorry, could not find this Zenodo ID. :/") Failure ('test-fnc_read_zenodo.R:7:5'): read_zenodo works is.list(x) is not TRUE `actual`: FALSE `expected`: TRUE Failure ('test-fnc_read_zenodo.R:8:5'): read_zenodo works `x` has length 0, not length 6. Failure ('test-fnc_read_zenodo.R:9:5'): read_zenodo works "Certification" %in% names(x) is not TRUE `actual`: FALSE `expected`: TRUE ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | fnc_round_DIN1333 ✔ | 1 | fnc_round_DIN1333 ⠏ | 0 | fnc_steyx ✔ | 6 | fnc_steyx ⠏ | 0 | fnc_styleTabC0 ⠋ | 1 | fnc_styleTabC0 ✔ | 5 | fnc_styleTabC0 ⠏ | 0 | fnc_styleTabC1 ⠋ | 1 | fnc_styleTabC1 ✔ | 1 | fnc_styleTabC1 ⠏ | 0 | fnc_styleTabC2 ✔ | 1 | fnc_styleTabC2 ⠏ | 0 | fnc_styleTabH1 ✔ | 5 | fnc_styleTabH1 ⠏ | 0 | fnc_styleTabH2 ✔ | 3 | fnc_styleTabH2 ⠏ | 0 | fnc_styleTabL1 ✔ | 1 | fnc_styleTabL1 ⠏ | 0 | help_the_user_modal ✔ | 1 0 | help_the_user_modal ⠏ | 0 | homogeneity ⠸ | 4 | homogeneity ⠼ | 5 | homogeneity ✔ | 5 | homogeneity ⠏ | 0 | list2rv ⠙ | 2 | list2rv ⠸ | 4 | list2rv ✔ | 5 | list2rv ⠏ | 0 | materialtabelle ⠋ | 1 | materialtabelle ✔ | 5 | materialtabelle ⠏ | 0 | mod_xlsx_range_select ⠋ | 1 | mod_xlsx_range_select ⠸ | 4 | mod_xlsx_range_select ⠴ | 6 | mod_xlsx_range_select ⠦ | 7 | mod_xlsx_range_select ⠧ | 8 | mod_xlsx_range_select ✔ | 8 | mod_xlsx_range_select [1.4s] ⠏ | 0 | page_start ✔ | 1 0 | page_start ⠏ | 0 | reactiveClass ⠧ | 8 | reactiveClass ✔ | 8 | reactiveClass ⠏ | 0 | run_app ✔ | 1 0 | run_app ⠏ | 0 | stability ⠋ | 1 | stability ✔ | 1 | stability ⠏ | 0 | statistic_helper ⠏ | 10 | statistic_helper ✔ | 27 | statistic_helper ⠏ | 0 | validation ⠹ | 3 | validation ⠴ | 6 | validation ✔ | 1 11 | validation ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 11.6 s ── Skipped tests (9) ─────────────────────────────────────────────────────────── • On CRAN (9): 'test-fnc_CertValPlot.R:15:3', 'test-fnc_plot_lts_data.R:18:5', 'test-fnc_plot_lts_data.R:69:5', 'test-fnc_prepFigV2.R:7:5', 'test-fnc_prepFigV3.R:8:5', 'test-help_the_user_modal.R:2:3', 'test-page_start.R:6:5', 'test-run_app.R:5:5', 'test-validation.R:37:5' ── Failed tests ──────────────────────────────────────────────────────────────── Failure ('test-fnc_read_zenodo.R:7:5'): read_zenodo works is.list(x) is not TRUE `actual`: FALSE `expected`: TRUE Failure ('test-fnc_read_zenodo.R:8:5'): read_zenodo works `x` has length 0, not length 6. Failure ('test-fnc_read_zenodo.R:9:5'): read_zenodo works "Certification" %in% names(x) is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 3 | WARN 1 | SKIP 9 | PASS 217 ] Error: Test failures Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR