Running ‘testthat.R’ [72s/119s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(DescrTab2)
  > 
  > 
  > test_check("DescrTab2")
  [ FAIL 6 | WARN 191 | SKIP 7 | PASS 196 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_CI.R:72:3'): Confidence intervals for differences work ───────
  ``%>%`(...)` threw an unexpected error.
  Message: DLL requires the use of native symbols
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_CI.R:72:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─... %>% print(silent = TRUE, print_format = "html")
    8. ├─base::print(., silent = TRUE, print_format = "html")
    9. └─DescrTab2:::print.DescrList(., silent = TRUE, print_format = "html")
   10.   ├─base::print(...)
   11.   ├─DescrTab2:::print.DescrPrint(...)
   12.   ├─base::NextMethod(...)
   13.   └─DescrTab2:::print.DescrPrintCharacter(...)
   14.     └─DescrTab2:::print_html(x, silent)
   15.       ├─tibl[idx, "CI"] %<>% ...
   16.       ├─base::`[<-`(`*tmp*`, idx, "CI", value = `<chr>`)
   17.       └─tibble:::`[<-.tbl_df`(`*tmp*`, idx, "CI", value = `<chr>`)
   18.         └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   19.           └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   20.             ├─base::withCallingHandlers(...)
   21.             └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Failure ('test_CI.R:78:5'): Confidence intervals for differences work ───────
  ``%>%`(...)` threw an unexpected error.
  Message: DLL requires the use of native symbols
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_CI.R:78:4
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─... %>% print(silent = TRUE, print_format = "tex")
    8. ├─base::print(., silent = TRUE, print_format = "tex")
    9. └─DescrTab2:::print.DescrList(., silent = TRUE, print_format = "tex")
   10.   ├─base::print(...)
   11.   ├─DescrTab2:::print.DescrPrint(...)
   12.   ├─base::NextMethod(...)
   13.   └─DescrTab2:::print.DescrPrintCharacter(...)
   14.     └─DescrTab2:::print_tex(x, silent)
   15.       ├─tibl[idx, "CI"] %<>% ...
   16.       ├─base::`[<-`(`*tmp*`, idx, "CI", value = `<chr>`)
   17.       └─tibble:::`[<-.tbl_df`(`*tmp*`, idx, "CI", value = `<chr>`)
   18.         └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   19.           └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   20.             ├─base::withCallingHandlers(...)
   21.             └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Failure ('test_html.R:18:3'): Outputformat html produces no errors ──────────
  `capture_output(...)` threw an unexpected error.
  Message: DLL requires the use of native symbols
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_html.R:18:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─testthat::capture_output(...)
    8. │ └─testthat::capture_output_lines(code, print, width = width)
    9. │   └─testthat:::eval_with_output(code, print = print, width = width)
   10. │     ├─withr::with_output_sink(path, withVisible(code))
   11. │     │ └─base::force(code)
   12. │     └─base::withVisible(code)
   13. ├─... %>% print(print_format = "html", silent = FALSE)
   14. ├─base::print(., print_format = "html", silent = FALSE)
   15. └─DescrTab2:::print.DescrList(., print_format = "html", silent = FALSE)
   16.   ├─base::print(...)
   17.   ├─DescrTab2:::print.DescrPrint(...)
   18.   ├─base::NextMethod(...)
   19.   └─DescrTab2:::print.DescrPrintCharacter(...)
   20.     └─DescrTab2:::print_html(x, silent)
   21.       ├─tibl[idx, "p"] %<>% ...
   22.       ├─base::`[<-`(`*tmp*`, idx, "p", value = `<chr>`)
   23.       └─tibble:::`[<-.tbl_df`(`*tmp*`, idx, "p", value = `<chr>`)
   24.         └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   25.           └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   26.             ├─base::withCallingHandlers(...)
   27.             └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Failure ('test_options.R:36:3'): No p ───────────────────────────────────────
  ``%>%`(...)` threw an unexpected error.
  Message: DLL requires the use of native symbols
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_options.R:36:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─... %>% print(silent = TRUE, print_format = "tex")
    8. ├─base::print(., silent = TRUE, print_format = "tex")
    9. └─DescrTab2:::print.DescrList(., silent = TRUE, print_format = "tex")
   10.   ├─base::print(...)
   11.   ├─DescrTab2:::print.DescrPrint(...)
   12.   ├─base::NextMethod(...)
   13.   └─DescrTab2:::print.DescrPrintCharacter(...)
   14.     └─DescrTab2:::print_tex(x, silent)
   15.       └─DescrTab2:::escape_latex_symbols(tibl, numEscapes = 1)
   16.         ├─base::`[<-`(`*tmp*`, i, j, value = `<chr>`)
   17.         └─tibble:::`[<-.tbl_df`(`*tmp*`, i, j, value = `<chr>`)
   18.           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   19.             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   20.               ├─base::withCallingHandlers(...)
   21.               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Failure ('test_options.R:261:3'): caption works ─────────────────────────────
  ``%>%`(...)` threw an unexpected error.
  Message: DLL requires the use of native symbols
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_options.R:261:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─... %>% print(silent = TRUE, print_format = "tex")
    8. ├─base::print(., silent = TRUE, print_format = "tex")
    9. └─DescrTab2:::print.DescrList(., silent = TRUE, print_format = "tex")
   10.   ├─base::print(...)
   11.   ├─DescrTab2:::print.DescrPrint(...)
   12.   ├─base::NextMethod(...)
   13.   └─DescrTab2:::print.DescrPrintCharacter(...)
   14.     └─DescrTab2:::print_tex(x, silent)
   15.       ├─tibl[idx, "p"] %<>% ...
   16.       ├─base::`[<-`(`*tmp*`, idx, "p", value = `<chr>`)
   17.       └─tibble:::`[<-.tbl_df`(`*tmp*`, idx, "p", value = `<chr>`)
   18.         └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   19.           └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   20.             ├─base::withCallingHandlers(...)
   21.             └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Failure ('test_tex.R:19:3'): Outputformat .tex produces no errors ───────────
  `capture_output(...)` threw an unexpected error.
  Message: DLL requires the use of native symbols
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_tex.R:19:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─testthat::capture_output(...)
    8. │ └─testthat::capture_output_lines(code, print, width = width)
    9. │   └─testthat:::eval_with_output(code, print = print, width = width)
   10. │     ├─withr::with_output_sink(path, withVisible(code))
   11. │     │ └─base::force(code)
   12. │     └─base::withVisible(code)
   13. ├─... %>% print(print_format = "tex", silent = FALSE)
   14. ├─base::print(., print_format = "tex", silent = FALSE)
   15. └─DescrTab2:::print.DescrList(., print_format = "tex", silent = FALSE)
   16.   ├─base::print(...)
   17.   ├─DescrTab2:::print.DescrPrint(...)
   18.   ├─base::NextMethod(...)
   19.   └─DescrTab2:::print.DescrPrintCharacter(...)
   20.     └─DescrTab2:::print_tex(x, silent)
   21.       ├─tibl[idx, "p"] %<>% ...
   22.       ├─base::`[<-`(`*tmp*`, idx, "p", value = `<chr>`)
   23.       └─tibble:::`[<-.tbl_df`(`*tmp*`, idx, "p", value = `<chr>`)
   24.         └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   25.           └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   26.             ├─base::withCallingHandlers(...)
   27.             └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 6 | WARN 191 | SKIP 7 | PASS 196 ]
  Error: Test failures
  Execution halted