Running ‘testthat.R’ [83s/168s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(plumber)
  > 
  > test_check("plumber")
  ── Skip (test-cookies.R:47:3): cookies can convert to string ───────────────────
  Reason: On CRAN
  
  ── Skip (test-deprecated.R:60:3): Digital Ocean functions throw errors ─────────
  Reason: On CRAN
  
  ── Skip (test-find-port.R:25:3): finds a good port and persists it ─────────────
  Reason: On CRAN
  
  ── Skip (test-find-port.R:41:3): we don't pin to globals$port if it's occupied ─
  Reason: On CRAN
  
  ── Warning (test-legacy.R:29:3): postBody is not enabled by default ────────────
  input string 1 is invalid in this locale
  
  ── FAILURE (test-legacy.R:29:3): postBody is not enabled by default ────────────
  `\{ \.\.\. \}` does not match "embedded nul in string".
  Actual value: "<simpleError in rawToChar\(body\): embedded nul in string: '------WebKitFormBoundaryMYdShB9nBc32BUhQ\\\\r\\\\nContent-Disposition: form-data; name="json"\\\\r\\\\n\\\\r\\\\n\{\\\\n  "a": 2,\\\\n  "b": 4,\\\\n  "c": \{\\\\n    "w": 3,\\\\n    "t": 5\\\\n  \}\\\\n\}\\\\r\\\\n------WebKitFormBoundaryMYdShB9nBc32BUhQ\\\\r\\\\nContent-Disposition: form-data; name="img1"; filename="avatar2-small\.png"\\\\r\\\\nContent-Type: image/png\\\\r\\\\n\\\\r\\\\n\\\\u0089PNG\\\\r\\\\n\\\\032\\\\n\\\\0\\\\0\\\\0\\\\rIHDR\\\\0\\\\0\\\\0\\\\031\\\\0\\\\0\\\\0\\\\031\\\\b\\\\002\\\\0\\\\0\\\\0K\\\\u008b\\\\0224\\\\0\\\\0\\\\0\\\\001sRGB\\\\0<ae>\\\\xce\\\\034\\\\xe9\\\\0\\\\0\\\\0\\\\004gAMA\\\\0\\\\0<b1>\\\\u008f\\\\v\\\\xfca\\\\005\\\\0\\\\0\\\\0\\\\tpHYs\\\\0\\\\0\\\\016\\\\xc3\\\\0\\\\0\\\\016\\\\xc3\\\\001\\\\xc7o<a8>d\\\\0\\\\0\\\\003\\\\xf2IDATHK\\\\u0095U\{H\\\\u0093Q\\\\024\\\\Uf6b66da6\\\\u0091\\\\u0096\\\\u0082\\\\xe2\+\\\\n\\\\037sCS\\\\027\\\\xe6\\\\v\\\\u0099\\\\u008a\\\\020\\\\u0084S\\\\xc9\?\| \\\\n\\\\u0086\\\\b\*\\\\u0099\\\\u0084S\\\\023\$\(\\\\020\\\\xc3PPH\\\\u0094X\\\\u008a<a0>\\\\Ua1fe4a82\\\\xc2\\\\xe6\\\\024\\\\023\+<a6>N0AtRj<a9>\\\\u009b<a8>\\\\U903feff\\\\xf2\\\\u0099֏qw\^\\\\xf7\\\\xdcs\\\\xcf9\\\\xf7\|<bc><bd><bd>=\\\\xe6\\\\030VWW\\\\xc7\\\\xc6\\\\xc6\\\\xde\\\\021\\\\xcc\\\\xcd\\\\xcd\\\\xed\\\\xec\\\\xec\\\\xf0x<\\\\037\\\\037\\\\037\\\\017\\\\017\\\\u008f\\\\u0088\\\\u0088\\\\b<b9>\\\\\\\\\\\\xce\\\\xd9\\\\035\\\\xc6Q_\\\\xf0\\\\xd2\\\\xd9\\\\xd9YWW7;;ˉ\\\\u008e\\\\xc1\\\\xceή<b0><b0>011\\\\u0091\\\\xe3\\\\177㐯\\\\u0089\\\\u0089\\\\u0089\\\\xd2>"
  
  ── Skip (test-options.R:15:3): all options used are `options_plumber()` paramete
  Reason: On CRAN
  
  ── FAILURE (test-parse-block.R:58:3): plumbBlock images ────────────────────────
  b$serializer not equal to serializer_jpeg(w = 1).
  Component "aroundexec_hook": Component "dev_on": Component "...": target is not list-like
  
  ── FAILURE (test-parse-block.R:72:3): plumbBlock images ────────────────────────
  b$serializer not equal to serializer_jpeg(width = 100).
  Component "aroundexec_hook": Component "dev_on": Component "...": target is not list-like
  
  ── Skip (test-plumber-print.R:2:3): prints correctly ───────────────────────────
  Reason: On CRAN
  
  ── Skip (test-plumber-print.R:46:3): prints correctly ──────────────────────────
  Reason: On CRAN
  
  ── Skip (test-serializer-device.R:2:1): (code run outside of `test_that()`) ────
  Reason: On CRAN
  
  ── Skip (test-serializer-htmlwidgets.R:18:3): htmlwidgets serialize properly ───
  Reason: On CRAN
  
  ── Skip (test-zzz-openapi.R:248:3): api kitchen sink ───────────────────────────
  Reason: On CRAN
  
  ── Skip (test-zzz-plumb_api.R:10:3): available_apis() works with no package ────
  Reason: On CRAN
  
  ── Skip (test-zzz-plumb_api.R:39:3): missing args are handled ──────────────────
  Reason: On CRAN
  
  ── Warning (test-zzz-plumb_api.R:64:3): all example plumber apis plumb ─────────
  Strategy 'multiprocess' is deprecated in future (>= 1.20.0). Instead, explicitly specify either 'multisession' or 'multicore'. In the current R session, 'multiprocess' equals 'multicore'.
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (12)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  Warning (test-legacy.R:29:3): postBody is not enabled by default
  FAILURE (test-legacy.R:29:3): postBody is not enabled by default
  FAILURE (test-parse-block.R:58:3): plumbBlock images
  FAILURE (test-parse-block.R:72:3): plumbBlock images
  Warning (test-zzz-plumb_api.R:64:3): all example plumber apis plumb
  
  [ FAIL 3 | WARN 2 | SKIP 12 | PASS 1851 ]
  Error: Test failures
  Execution halted