Running ‘first_edition.R’ [11s/11s]
  Running ‘second_edition.R’ [13s/22s]
  Running ‘spelling.R’ [0s/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 0 | SKIP 37 | PASS 713 ]
  
  ══ Skipped tests (37) ══════════════════════════════════════════════════════════
  • 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'
  • 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 0 | SKIP 37 | PASS 713 ]
  Error:
  ! Test failures.
  Execution halted