Running 'spelling.R' [0s]
  Running 'testthat.R' [30s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(plumber)
  > 
  > test_check("plumber")
  [ FAIL 1 | WARN 1 | SKIP 16 | PASS 1954 ]
  
  ══ Skipped tests (16) ══════════════════════════════════════════════════════════
  • On CRAN (14): 'test-cookies.R:47:3', 'test-deprecated.R:60:3',
    'test-find-port.R:25:3', 'test-find-port.R:41:3', 'test-options.R:13:3',
    'test-plumber-print.R:2:3', 'test-plumber-print.R:60:3',
    'test-plumber.R:67:3', 'test-serializer-device.R:26:1',
    'test-serializer-htmlwidgets.R:18:3', 'test-static.R:23:3',
    'test-zzz-openapi.R:254:3', 'test-zzz-plumb_api.R:10:3',
    'test-zzz-plumb_api.R:65:3'
  • On Windows (2): 'test-endpoint-aroundexec.R:131:3', 'test-legacy.R:19:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-parse-block.R:130:5'): @json parameters work ─────────────────
  `{ ... }` threw an error with unexpected message.
  Expected match: "unexpected end of input"
  Actual message: "Error on line #1: '#' @serializer json list(na = 'string'' - Error in parse(text = serMat[1, 4]): <text>:2:0: syntax error\n1: list(na = 'string'\n   ^\n"
  Backtrace:
       ▆
    1. └─plumber (local) expect_block_error(...) at test-parse-block.R:152:3
    2.   ├─testthat::expect_error(...) at test-parse-block.R:130:5
    3.   │ └─testthat:::quasi_capture(...)
    4.   │   ├─testthat (local) .capture(...)
    5.   │   │ └─base::withCallingHandlers(...)
    6.   │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7.   └─plumber (local) plumb_block_check(lines) at test-parse-block.R:131:7
    8.     └─plumber:::plumbBlock(length(lines), lines) at test-parse-block.R:123:7
    9.       └─base::tryCatch(...)
   10.         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   11.           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12.             └─value[[3L]](cond)
   13.               └─plumber:::stopOnLine(lineNum, line, e)
  
  [ FAIL 1 | WARN 1 | SKIP 16 | PASS 1954 ]
  Error: Test failures
  Execution halted