CRAN Package Check Results for Package tabxplor

Last updated on 2025-12-20 09:50:03 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.1 13.12 178.12 191.24 OK
r-devel-linux-x86_64-debian-gcc 1.3.1 9.28 118.05 127.33 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.1 25.00 278.55 303.55 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3.1 23.00 260.19 283.19 ERROR
r-devel-windows-x86_64 1.3.1 16.00 171.00 187.00 OK
r-patched-linux-x86_64 1.3.1 16.31 156.84 173.15 OK
r-release-linux-x86_64 1.3.1 13.15 158.16 171.31 OK
r-release-macos-arm64 1.3.1 OK
r-release-macos-x86_64 1.3.1 11.00 264.00 275.00 OK
r-release-windows-x86_64 1.3.1 15.00 167.00 182.00 OK
r-oldrel-macos-arm64 1.3.1 OK
r-oldrel-macos-x86_64 1.3.1 11.00 291.00 302.00 OK
r-oldrel-windows-x86_64 1.3.1 21.00 282.00 303.00 OK

Check Details

Version: 1.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [31s/38s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(tabxplor) > > # # CRAN OMP THREAD LIMIT > # threads_option <- Sys.getenv("OMP_THREAD_LIMIT") > #Sys.setenv("OMP_THREAD_LIMIT" = 2) > > > > test_check("tabxplor") Saving _problems/test-tab-99.R 28 rows with zero or NA weights were removed Saving _problems/test-tab-158.R Saving _problems/test-tab-254.R Saving _problems/test-tab-273.R [1] "/tmp/RtmpzJUr5X/tab_xl_test.xlsx" [1] "/tmp/RtmpzJUr5X/tab_xl_test.xlsx" [ FAIL 4 | WARN 0 | SKIP 0 | PASS 190 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tab.R:99:3'): tab_num works with missing, NULL, NA, etc. ─────── Error in ``[.data.table`(tabs, , `:=`(paste0(col_vars, "_diff"), purrr::map(rlang::syms(paste0(col_vars, "_mean")), ~eval(.)/dplyr::nth(eval(.), tidyr::replace_na(which(eval(rlang::sym("ref_rows___")))[1], 0)))), by = eval(comp_group))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─... %>% testthat::expect_s3_class("tabxplor_tab") at test-tab.R:99:3 2. ├─testthat::expect_s3_class(., "tabxplor_tab") 3. │ └─testthat::quasi_label(enquo(object)) 4. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 5. └─tabxplor::tab_num(...) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-tab.R:158:3'): tab_many works with numeric variables ─────────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(list(row_vars, totaltab, totrow, ref, comp, color_num, ci, na_num), ~tab_num(data, !!..1, as.character(col_vars)[col_vars_num], as.character(tab_vars), wt = !!wt, na = ..8, digits = digits[col_vars_num], ref = ..4, ci = ..7, conf_level = conf_level, comp = ..5, color = ..6, totaltab = ..2, totaltab_name = totaltab_name, tot = dplyr::if_else(..3, "row", "no"), total_names = total_names))`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-tab.R:158:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─tabxplor::tab_many(data, sex, mass, gender) 5. │ ├─... %>% purrr::set_names(row_vars) 6. │ └─purrr::pmap(...) 7. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress) 8. │ ├─purrr:::with_indexed_errors(...) 9. │ │ └─base::withCallingHandlers(...) 10. │ ├─purrr:::call_with_cleanup(...) 11. │ └─tabxplor (local) .f(...) 12. │ └─tabxplor::tab_num(...) 13. │ ├─...[] 14. │ └─data.table:::`[.data.table`(...) 15. ├─purrr::set_names(., row_vars) 16. └─base::.handleSimpleError(...) 17. └─purrr (local) h(simpleError(msg, call)) 18. └─cli::cli_abort(...) 19. └─rlang::abort(...) ── Error ('test-tab.R:247:3'): tab_many work with tribble ────────────────────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(., tab_many, data = data, totcol = "no", totaltab = "no")`: i In index: 2. Caused by error in `purrr::pmap()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT ── Error ('test-tab.R:266:3'): tab work with tribble (even many tab_vars) ────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(., tab, data = data)`: i In index: 2. Caused by error in `purrr::pmap()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT [ FAIL 4 | WARN 0 | SKIP 0 | PASS 190 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [76s/143s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(tabxplor) > > # # CRAN OMP THREAD LIMIT > # threads_option <- Sys.getenv("OMP_THREAD_LIMIT") > #Sys.setenv("OMP_THREAD_LIMIT" = 2) > > > > test_check("tabxplor") Saving _problems/test-tab-99.R 28 rows with zero or NA weights were removed Saving _problems/test-tab-158.R Saving _problems/test-tab-254.R Saving _problems/test-tab-273.R [1] "/tmp/Rtmpoe109H/working_dir/Rtmp39hKSr/tab_xl_test.xlsx" [1] "/tmp/Rtmpoe109H/working_dir/Rtmp39hKSr/tab_xl_test.xlsx" [ FAIL 4 | WARN 0 | SKIP 0 | PASS 190 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tab.R:99:3'): tab_num works with missing, NULL, NA, etc. ─────── Error in ``[.data.table`(tabs, , `:=`(paste0(col_vars, "_diff"), purrr::map(rlang::syms(paste0(col_vars, "_mean")), ~eval(.)/dplyr::nth(eval(.), tidyr::replace_na(which(eval(rlang::sym("ref_rows___")))[1], 0)))), by = eval(comp_group))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─... %>% testthat::expect_s3_class("tabxplor_tab") at test-tab.R:99:3 2. ├─testthat::expect_s3_class(., "tabxplor_tab") 3. │ └─testthat::quasi_label(enquo(object)) 4. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 5. └─tabxplor::tab_num(...) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-tab.R:158:3'): tab_many works with numeric variables ─────────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(list(row_vars, totaltab, totrow, ref, comp, color_num, ci, na_num), ~tab_num(data, !!..1, as.character(col_vars)[col_vars_num], as.character(tab_vars), wt = !!wt, na = ..8, digits = digits[col_vars_num], ref = ..4, ci = ..7, conf_level = conf_level, comp = ..5, color = ..6, totaltab = ..2, totaltab_name = totaltab_name, tot = dplyr::if_else(..3, "row", "no"), total_names = total_names))`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-tab.R:158:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─tabxplor::tab_many(data, sex, mass, gender) 5. │ ├─... %>% purrr::set_names(row_vars) 6. │ └─purrr::pmap(...) 7. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress) 8. │ ├─purrr:::with_indexed_errors(...) 9. │ │ └─base::withCallingHandlers(...) 10. │ ├─purrr:::call_with_cleanup(...) 11. │ └─tabxplor (local) .f(...) 12. │ └─tabxplor::tab_num(...) 13. │ ├─...[] 14. │ └─data.table:::`[.data.table`(...) 15. ├─purrr::set_names(., row_vars) 16. └─base::.handleSimpleError(...) 17. └─purrr (local) h(simpleError(msg, call)) 18. └─cli::cli_abort(...) 19. └─rlang::abort(...) ── Error ('test-tab.R:247:3'): tab_many work with tribble ────────────────────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(., tab_many, data = data, totcol = "no", totaltab = "no")`: i In index: 2. Caused by error in `purrr::pmap()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT ── Error ('test-tab.R:266:3'): tab work with tribble (even many tab_vars) ────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(., tab, data = data)`: i In index: 2. Caused by error in `purrr::pmap()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT [ FAIL 4 | WARN 0 | SKIP 0 | PASS 190 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [66s/78s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(tabxplor) > > # # CRAN OMP THREAD LIMIT > # threads_option <- Sys.getenv("OMP_THREAD_LIMIT") > #Sys.setenv("OMP_THREAD_LIMIT" = 2) > > > > test_check("tabxplor") Saving _problems/test-tab-99.R 28 rows with zero or NA weights were removed Saving _problems/test-tab-158.R Saving _problems/test-tab-254.R Saving _problems/test-tab-273.R [1] "/tmp/RtmpePKscv/working_dir/Rtmp6cZtnj/tab_xl_test.xlsx" [1] "/tmp/RtmpePKscv/working_dir/Rtmp6cZtnj/tab_xl_test.xlsx" [ FAIL 4 | WARN 0 | SKIP 0 | PASS 190 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tab.R:99:3'): tab_num works with missing, NULL, NA, etc. ─────── Error in ``[.data.table`(tabs, , `:=`(paste0(col_vars, "_diff"), purrr::map(rlang::syms(paste0(col_vars, "_mean")), ~eval(.)/dplyr::nth(eval(.), tidyr::replace_na(which(eval(rlang::sym("ref_rows___")))[1], 0)))), by = eval(comp_group))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─... %>% testthat::expect_s3_class("tabxplor_tab") at test-tab.R:99:3 2. ├─testthat::expect_s3_class(., "tabxplor_tab") 3. │ └─testthat::quasi_label(enquo(object)) 4. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 5. └─tabxplor::tab_num(...) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test-tab.R:158:3'): tab_many works with numeric variables ─────────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(list(row_vars, totaltab, totrow, ref, comp, color_num, ci, na_num), ~tab_num(data, !!..1, as.character(col_vars)[col_vars_num], as.character(tab_vars), wt = !!wt, na = ..8, digits = digits[col_vars_num], ref = ..4, ci = ..7, conf_level = conf_level, comp = ..5, color = ..6, totaltab = ..2, totaltab_name = totaltab_name, tot = dplyr::if_else(..3, "row", "no"), total_names = total_names))`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-tab.R:158:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─tabxplor::tab_many(data, sex, mass, gender) 5. │ ├─... %>% purrr::set_names(row_vars) 6. │ └─purrr::pmap(...) 7. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress) 8. │ ├─purrr:::with_indexed_errors(...) 9. │ │ └─base::withCallingHandlers(...) 10. │ ├─purrr:::call_with_cleanup(...) 11. │ └─tabxplor (local) .f(...) 12. │ └─tabxplor::tab_num(...) 13. │ ├─...[] 14. │ └─data.table:::`[.data.table`(...) 15. ├─purrr::set_names(., row_vars) 16. └─base::.handleSimpleError(...) 17. └─purrr (local) h(simpleError(msg, call)) 18. └─cli::cli_abort(...) 19. └─rlang::abort(...) ── Error ('test-tab.R:247:3'): tab_many work with tribble ────────────────────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(., tab_many, data = data, totcol = "no", totaltab = "no")`: i In index: 2. Caused by error in `purrr::pmap()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT ── Error ('test-tab.R:266:3'): tab work with tribble (even many tab_vars) ────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(., tab, data = data)`: i In index: 2. Caused by error in `purrr::pmap()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT [ FAIL 4 | WARN 0 | SKIP 0 | PASS 190 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc