Running ‘testthat.R’ [5s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(readit)
  > 
  > test_check("readit")
  Saving _problems/test_readit-7.R
  Saving _problems/test_readit-28.R
  Saving _problems/test_readit-69.R
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 12 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_readit.R:7:3'): Identical .txts, different delimiters ──────────
  Error in `read_table2(x, n_max = n_max)`: could not find function "read_table2"
  Backtrace:
       ▆
    1. └─readit::readit(...) at test_readit.R:7:3
    2.   └─readit:::guess_txt(.data)
    3.     └─base::lapply(delims_test, function(y) length(colnames(suppressMessages(suppressWarnings(y(.data))))))
    4.       └─readit (local) FUN(X[[i]], ...)
    5.         ├─base::colnames(suppressMessages(suppressWarnings(y(.data))))
    6.         │ └─base::is.data.frame(x)
    7.         ├─base::suppressMessages(suppressWarnings(y(.data)))
    8.         │ └─base::withCallingHandlers(...)
    9.         ├─base::suppressWarnings(y(.data))
   10.         │ └─base::withCallingHandlers(...)
   11.         └─readit (local) y(.data)
  ── Error ('test_readit.R:28:3'): Identical files, different formats ────────────
  Error in `read_table2(x, n_max = n_max)`: could not find function "read_table2"
  Backtrace:
       ▆
    1. └─readit::readit(system.file("examples", "tab_sep.txt", package = package)) at test_readit.R:28:3
    2.   └─readit:::guess_txt(.data)
    3.     └─base::lapply(delims_test, function(y) length(colnames(suppressMessages(suppressWarnings(y(.data))))))
    4.       └─readit (local) FUN(X[[i]], ...)
    5.         ├─base::colnames(suppressMessages(suppressWarnings(y(.data))))
    6.         │ └─base::is.data.frame(x)
    7.         ├─base::suppressMessages(suppressWarnings(y(.data)))
    8.         │ └─base::withCallingHandlers(...)
    9.         ├─base::suppressWarnings(y(.data))
   10.         │ └─base::withCallingHandlers(...)
   11.         └─readit (local) y(.data)
  ── Error ('test_readit.R:68:3'): Additional arguments are picked up by readit ──
  Error in `read_table2(x, n_max = n_max)`: could not find function "read_table2"
  Backtrace:
       ▆
    1. └─readit::readit(...) at test_readit.R:68:3
    2.   └─readit:::guess_txt(.data)
    3.     └─base::lapply(delims_test, function(y) length(colnames(suppressMessages(suppressWarnings(y(.data))))))
    4.       └─readit (local) FUN(X[[i]], ...)
    5.         ├─base::colnames(suppressMessages(suppressWarnings(y(.data))))
    6.         │ └─base::is.data.frame(x)
    7.         ├─base::suppressMessages(suppressWarnings(y(.data)))
    8.         │ └─base::withCallingHandlers(...)
    9.         ├─base::suppressWarnings(y(.data))
   10.         │ └─base::withCallingHandlers(...)
   11.         └─readit (local) y(.data)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 12 ]
  Error:
  ! Test failures.
  Execution halted