* using log directory 'd:/Rcompile/CRANpkg/local/4.4/visOmopResults.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 'visOmopResults/DESCRIPTION' ... OK * this is package 'visOmopResults' version '1.2.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 'visOmopResults' 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 ... [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 ... [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 ... [10s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [61s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [65s] ERROR Running 'testthat.R' [64s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(visOmopResults) > > test_check("visOmopResults") Starting 2 test processes [ FAIL 4 | WARN 6 | SKIP 7 | PASS 425 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-datatableInternal.R:11:3', 'test-datatableInternal.R:26:3', 'test-formatTable.R:66:3', 'test-formatTable.R:84:3', 'test-reactableInternal.R:11:3', 'test-reactableInternal.R:35:3', 'test-visOmopTable.R:394:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-formatTable.R:104:3'): global options works ──────────────────── Error in `dplyr::filter(tinytable@style, i == ii & j == jj)`: i In argument: `i == ii & j == jj`. Caused by error: ! object 'i' not found Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-formatTable.R:104:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─visOmopResults:::getTinytableStyle(tab, -1, 12) 5. │ ├─dplyr::as_tibble(...) at D:\RCompile\CRANpkg\local\4.4\visOmopResults.Rcheck\tests\testthat\setup.R:2:3 6. │ ├─dplyr::filter(tinytable@style, i == ii & j == jj) 7. │ └─dplyr:::filter.data.frame(tinytable@style, i == ii & j == jj) 8. │ └─dplyr:::filter_rows(.data, dots, by) 9. │ └─dplyr:::filter_eval(...) 10. │ ├─base::withCallingHandlers(...) 11. │ └─mask$eval_all_filter(dots, env_filter) 12. │ └─dplyr (local) eval() 13. └─base::.handleSimpleError(``, "object 'i' not found", base::quote(NULL)) 14. └─dplyr (local) h(simpleError(msg, call)) 15. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-tinyTable.R:38:3'): tinytable ────────────────────────────────── Error in `dplyr::filter(tinytable@style, i == ii & j == jj)`: i In argument: `i == ii & j == jj`. Caused by error: ! object 'i' not found Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-tinyTable.R:38:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─visOmopResults:::getTinytableStyle(tinytableInternal, -1, 9) 5. │ ├─dplyr::as_tibble(...) at D:\RCompile\CRANpkg\local\4.4\visOmopResults.Rcheck\tests\testthat\setup.R:2:3 6. │ ├─dplyr::filter(tinytable@style, i == ii & j == jj) 7. │ └─dplyr:::filter.data.frame(tinytable@style, i == ii & j == jj) 8. │ └─dplyr:::filter_rows(.data, dots, by) 9. │ └─dplyr:::filter_eval(...) 10. │ ├─base::withCallingHandlers(...) 11. │ └─mask$eval_all_filter(dots, env_filter) 12. │ └─dplyr (local) eval() 13. └─base::.handleSimpleError(``, "object 'i' not found", base::quote(NULL)) 14. └─dplyr (local) h(simpleError(msg, call)) 15. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-visTable.R:161:3'): global options works ─────────────────────── Error in `dplyr::filter(tinytable@style, i == ii & j == jj)`: i In argument: `i == ii & j == jj`. Caused by error: ! object 'i' not found Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-visTable.R:161:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─visOmopResults:::getTinytableStyle(tab, -1, 12) 5. │ ├─dplyr::as_tibble(...) at D:\RCompile\CRANpkg\local\4.4\visOmopResults.Rcheck\tests\testthat\setup.R:2:3 6. │ ├─dplyr::filter(tinytable@style, i == ii & j == jj) 7. │ └─dplyr:::filter.data.frame(tinytable@style, i == ii & j == jj) 8. │ └─dplyr:::filter_rows(.data, dots, by) 9. │ └─dplyr:::filter_eval(...) 10. │ ├─base::withCallingHandlers(...) 11. │ └─mask$eval_all_filter(dots, env_filter) 12. │ └─dplyr (local) eval() 13. └─base::.handleSimpleError(``, "object 'i' not found", base::quote(NULL)) 14. └─dplyr (local) h(simpleError(msg, call)) 15. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-visOmopTable.R:416:3'): global options works ─────────────────── Error in `dplyr::filter(tinytable@style, i == ii & j == jj)`: i In argument: `i == ii & j == jj`. Caused by error: ! object 'i' not found Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-visOmopTable.R:416:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─visOmopResults:::getTinytableStyle(tab, -1, 12) 5. │ ├─dplyr::as_tibble(...) at D:\RCompile\CRANpkg\local\4.4\visOmopResults.Rcheck\tests\testthat\setup.R:2:3 6. │ ├─dplyr::filter(tinytable@style, i == ii & j == jj) 7. │ └─dplyr:::filter.data.frame(tinytable@style, i == ii & j == jj) 8. │ └─dplyr:::filter_rows(.data, dots, by) 9. │ └─dplyr:::filter_eval(...) 10. │ ├─base::withCallingHandlers(...) 11. │ └─mask$eval_all_filter(dots, env_filter) 12. │ └─dplyr (local) eval() 13. └─base::.handleSimpleError(``, "object 'i' not found", base::quote(NULL)) 14. └─dplyr (local) h(simpleError(msg, call)) 15. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) [ FAIL 4 | WARN 6 | SKIP 7 | PASS 425 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [76s] OK * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 1 ERROR