* using log directory ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/eCerto.Rcheck’ * using R version 4.4.3 RC (2025-02-20 r87814) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-16) 14.2.0 GNU Fortran (Debian 14.2.0-16) 14.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘eCerto/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘eCerto’ version ‘0.5.14’ * 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 ‘eCerto’ can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/eCerto-00install.html' 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/2s] OK * checking loading without being on the library search path ... [1s/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 ... [28s/32s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [1s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [19s/26s] ERROR Running ‘testthat.R’ [19s/25s] 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 ⠙ | 2 | ExcelUpload ⠸ | 4 | ExcelUpload ✔ | 4 | ExcelUpload [4.1s] ⠏ | 0 | RData_export ⠋ | 1 | RData_export ✔ | 2 | RData_export ⠏ | 0 | Rdata_import ⠋ | 1 | Rdata_import ⠧ | 8 | Rdata_import ⠋ | 11 | Rdata_import ✔ | 12 | Rdata_import [1.1s] ⠏ | 0 | app_inits ✔ | 3 | app_inits ⠏ | 0 | app_utils ⠙ | 2 | app_utils ⠸ | 4 | app_utils ⠋ | 11 | app_utils ✔ | 13 | app_utils [1.1s] ⠏ | 0 | certification ⠋ | 1 | certification ⠹ | 3 | certification ✔ | 3 | certification [3.1s] ⠏ | 0 | fnc_CertValPlot ⠹ | 3 | fnc_CertValPlot ⠸ | 1 3 | fnc_CertValPlot ✔ | 1 3 | fnc_CertValPlot ⠏ | 0 | fnc_assert_col ⠇ | 9 | 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 ⠼ | 5 | fnc_get_local_file ✔ | 7 | fnc_get_local_file ⠏ | 0 | fnc_load_xlsx ⠼ | 5 | fnc_load_xlsx ✔ | 10 | fnc_load_xlsx ⠏ | 0 | fnc_plot_lts_data ⠼ | 1 4 | fnc_plot_lts_data ✔ | 2 7 | fnc_plot_lts_data ⠏ | 0 | fnc_prepFigS1 ✔ | 4 | fnc_prepFigS1 ⠏ | 0 | fnc_prepFigS2 ⠸ | 4 | 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 ⠙ | 2 | fnc_prepTabC1 ⠹ | 3 | fnc_prepTabC1 ✔ | 3 | fnc_prepTabC1 ⠏ | 0 | fnc_prepTabC2 ✔ | 4 | fnc_prepTabC2 ⠏ | 0 | fnc_prepTabH1 ✔ | 10 | fnc_prepTabH1 ⠏ | 0 | fnc_read_lts_input ⠹ | 3 | fnc_read_lts_input ✔ | 4 | fnc_read_lts_input ⠏ | 0 | fnc_read_zenodo ⠋ | 1 0 | fnc_read_zenodo ⠙ | 1 1 0 | fnc_read_zenodo ⠼ | 3 1 1 | fnc_read_zenodo ✖ | 3 1 1 | fnc_read_zenodo [1.0s] ──────────────────────────────────────────────────────────────────────────────── 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 ✔ | 4 | help_the_user_modal ⠏ | 0 | homogeneity ⠙ | 2 | homogeneity ⠸ | 4 | homogeneity ⠼ | 5 | homogeneity ✔ | 5 | homogeneity [2.0s] ⠏ | 0 | list2rv ⠙ | 2 | list2rv ⠸ | 4 | list2rv ✔ | 5 | list2rv ⠏ | 0 | materialtabelle ⠋ | 1 | materialtabelle ⠼ | 5 | 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 [2.3s] ⠏ | 0 | page_start ✔ | 1 0 | page_start ⠏ | 0 | reactiveClass ⠸ | 4 | reactiveClass ⠴ | 6 | reactiveClass ✔ | 8 | reactiveClass ⠏ | 0 | run_app ✔ | 1 0 | run_app ⠏ | 0 | stability ⠋ | 1 | stability ✔ | 1 | stability [2.3s] ⠏ | 0 | statistic_helper ⠇ | 9 | statistic_helper ✔ | 27 | statistic_helper ⠏ | 0 | validation ⠼ | 5 | validation ⠋ | 1 10 | validation ✔ | 1 10 | validation ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 22.4 s ── Skipped tests (8) ─────────────────────────────────────────────────────────── • On CRAN (8): '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-page_start.R:6:5', 'test-run_app.R:5:5', 'test-validation.R:34: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 8 | PASS 218 ] Error: Test failures Execution halted * checking PDF version of manual ... [4s/6s] OK * checking HTML version of manual ... [0s/1s] OK * checking for non-standard things in the check directory ... OK * DONE Status: 1 ERROR