* using log directory 'd:/Rcompile/CRANpkg/local/4.5/readr.Rcheck' * using R version 4.5.2 (2025-10-31 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 * checking for file 'readr/DESCRIPTION' ... OK * this is package 'readr' version '2.1.6' * 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 'readr' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.3.0' * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 whether startup messages can be suppressed ... [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 ... [7s] OK * checking Rd files ... [1s] 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 R/sysdata.rda ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [10s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [36s] ERROR Running 'first_edition.R' [15s] Running 'second_edition.R' [20s] Running 'spelling.R' [0s] Running the tests in 'tests/second_edition.R' failed. Complete output: > library(testthat) > library(readr) Attaching package: 'readr' The following objects are masked from 'package:testthat': edition_get, local_edition > > test_check("readr") Saving _problems/test-write-196.R [ FAIL 1 | WARN 6 | SKIP 39 | PASS 711 ] ══ Skipped tests (39) ══════════════════════════════════════════════════════════ • On CRAN (22): 'test-col-spec.R:161:1', 'test-col-spec.R:165:1', 'test-col-spec.R:169:1', 'test-col-spec.R:176:1', 'test-col-spec.R:188:1', 'test-col-spec.R:194:1', 'test-col-spec.R:204:1', 'test-col-spec.R:213:1', 'test-col-spec.R:218:1', 'test-col-spec.R:227:1', 'test-col-spec.R:237:1', 'test-col-spec.R:244:1', 'test-col-spec.R:263:1', 'test-col-spec.R:281:1', 'test-melt-csv.R:86:3', 'test-parsing-datetime.R:225:3', 'test-parsing-datetime.R:264:3', 'test-read-csv.R:100:3', 'test-read-csv.R:254:1', 'test-read-file.R:51:3', 'test-read-file.R:58:3', 'test-utils.R:1:1' • On Windows (2): 'test-melt-csv.R:2:3', 'test-read-lines.R:73:3' • edition_first() is not TRUE (15): 'test-problems.R:31:3', 'test-read-csv.R:93:3', 'test-read-csv.R:113:3', 'test-read-csv.R:140:3', 'test-read-csv.R:177:3', 'test-read-csv.R:194:3', 'test-read-csv.R:416:3', 'test-read-fwf.R:71:3', 'test-read-fwf.R:109:3', 'test-read-fwf.R:117:3', 'test-read-fwf.R:142:3', 'test-read-fwf.R:174:3', 'test-read-fwf.R:184:3', 'test-read-lines.R:89:3', 'test-write.R:11:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-write.R:196:3'): Can change the escape behavior for quotes ───── Error in `vroom::vroom_format(x, delim = delim, eol = eol, col_names = col_names, na = na, quote = quote, escape = escape)`: `escape` must be one of "double", "backslash", or "none", not "invalid". Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-write.R:196:3 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. ├─readr::format_delim(df, "\t", escape = "invalid") 8. │ └─vroom::vroom_format(escape = escape) 9. │ └─rlang::arg_match(escape) 10. │ └─rlang::arg_match0(arg, values, error_arg, error_call = error_call) 11. └─rlang:::stop_arg_match(w, values = x, error_arg = y, error_call = z) 12. └─rlang::abort(msg, call = error_call, arg = error_arg) [ FAIL 1 | WARN 6 | SKIP 39 | PASS 711 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [10s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [10s] OK * DONE Status: 1 ERROR