- using R Under development (unstable) (2026-02-19 r89439)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-02-19 20:13:49 UTC
- using option ‘--no-stop-on-test-error’
- 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 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 ‘readit’ can be installed ... [7s/22s] OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [9s/19s] NOTE
guess_txt : <anonymous>: no visible global function definition for
‘read_table2’
Undefined global functions or variables:
read_table2
- checking Rd files ... 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 LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking examples ... 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
<chr> <chr> <chr> <chr> <chr>
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 ... [5s/11s] ERROR
Running ‘testthat.R’
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 ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE