* using log directory 'd:/Rcompile/CRANpkg/local/4.6/readit.Rcheck' * using R Under development (unstable) (2026-03-09 r89583 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-03-10 17:43:15 UTC * checking for file 'readit/DESCRIPTION' ... OK * this is package 'readit' version '1.0.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 'readit' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [1s] 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 ... [4s] NOTE guess_txt : : no visible global function definition for 'read_table2' Undefined global functions or variables: read_table2 * checking Rd files ... [0s] 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 LazyData ... INFO 'LazyData' is specified without a 'data' directory * checking examples ... [2s] ERROR Running examples in 'readit-Ex.R' failed The error most likely occurred in: > ### Name: readit > ### Title: Read Files of Any Type > ### Aliases: readit > > ### ** Examples > > readit(system.file("examples", "csv.csv", package = "readit")) File guessed to be CSV (system.file("examples", "csv.csv", package = "readit")) Rows: 5 Columns: 5 ── Column specification ──────────────────────────────────────────────────────── Delimiter: "," chr (5): testheader1, testheader2, testheader3, testheader4, testheader5 ℹ Use `spec()` to retrieve the full column specification for this data. ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message. # A tibble: 5 × 5 testheader1 testheader2 testheader3 testheader4 testheader5 1 testdata11 testdata12 testdata13 testdata14 testdata15 2 testdata21 testdata22 testdata23 testdata24 testdata25 3 testdata31 testdata32 testdata33 testdata34 testdata35 4 testdata41 testdata42 testdata43 testdata44 testdata45 5 testdata51 testdata52 testdata53 testdata54 testdata55 > readit(system.file("examples", "tab_sep.txt", package = "readit")) Error in read_table2(x, n_max = n_max) : could not find function "read_table2" Calls: readit ... is.data.frame -> suppressMessages -> withCallingHandlers Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] ERROR Running 'testthat.R' [3s] 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 * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 2 ERRORs, 1 NOTE