- 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-8) 14.3.0
GNU Fortran (Debian 14.3.0-8) 14.3.0
- running under: Debian GNU/Linux forky/sid
- 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 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 ‘visOmopResults’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/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/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [12s/15s] OK
- checking Rd files ... [0s/1s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [47s/59s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
visTable 18.097 0.071 23.584
setGlobalTableOptions 8.401 0.110 10.226
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [98s/57s] ERROR
Running ‘testthat.R’ [98s/57s]
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 168 | 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 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(`<fn>`, "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 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(`<fn>`, "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 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(`<fn>`, "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 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(`<fn>`, "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 168 | 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 ... [69s/88s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR