Skip to content

Instantly share code, notes, and snippets.

@slodge
Created November 29, 2022 17:01
Show Gist options
  • Save slodge/174e6a6d27785d5c01abeecdd531aad0 to your computer and use it in GitHub Desktop.
Save slodge/174e6a6d27785d5c01abeecdd531aad0 to your computer and use it in GitHub Desktop.
CurrentTestOutput
Restarting R session...
> devtools::test()
ℹ Loading plumber
ℹ Testing plumber
✔ | F W S OK | Context
✔ | 18 | as_attachment [0.2s]
✔ | 4 | Promise [0.8s]
✔ | 574 | Promise - hooks [13.8s]
✔ | 2 | Promise - multiple hooks can change the value [0.1s]
✔ | 144 | Promise - errors are handled [3.0s]
✔ | 15 | combine multipart values
✔ | 11 | Content Types
✔ | 69 | Cookies [0.3s]
✔ | 21 | default handlers [0.1s]
✔ | 21 | Deprecated [0.3s]
✔ | 1 4 | Endpoint around exec hook
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-endpoint-aroundexec.R:131:3): not producing an image produces an error
Reason: On Windows
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 28 | Endpoints argument conversion
✔ | 32 | Endpoints [0.2s]
✔ | 3 | Verb enumeration
✔ | 22 | filters [0.3s]
✔ | 104 | find port [0.2s]
✔ | 6 | global settings
✔ | 11 | Hookable
✔ | 1 | Injection
✔ | 3 | JSON
✔ | 1 1 | legacy
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-legacy.R:19:3): postBody is not enabled by default
Reason: On Windows
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 5 | multibytes source file
✔ | 7 | Options [0.1s]
✔ | 114 | block parsing [0.6s]
✔ | 1 165 | body parsing [2.5s]
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-parse-body.R:134:3): Test geojson parser
Reason: sf cannot be loaded
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 23 | Parsers tag [0.2s]
✔ | 71 | Paths [0.3s]
✔ | 2 3 | plumber-print [0.1s]
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-plumber-print.R:3:3): prints correctly
Reason: On Windows
Skip (test-plumber-print.R:61:3): prints correctly
Reason: On Windows
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 3 5 | plumber-run [0.4s]
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-plumber-run.R:45:3): `swaggerCallback` does not not permanetly set pr information
Reason: mockery cannot be loaded
Skip (test-plumber-run.R:71:3): `swaggerCallback` can be set by option after the pr is created
Reason: mockery cannot be loaded
Skip (test-plumber-run.R:100:3): `debug` is not set until runtime
Reason: mockery cannot be loaded
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 1 142 | Plumber [1.4s]
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-plumber.R:74:5): plumb gives a good error when passing in a dir instead of a file
Reason: On Windows
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 7 | Preempts [0.2s]
✔ | 4 | test-query-with-multibytes
✔ | 21 | query strings [0.3s]
✔ | 6 | Responses
✔ | 4 | Router modifier (@plumber tag)
✔ | 14 | Routing [0.1s]
✔ | 11 | CSV serializer
✔ | 26 | device serializer [2.5s]
✔ | 17 | plumb() device serializer [0.2s]
✔ | 6 | feather serializer
✔ | 2 0 | serializer-geojson
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-serializer-geojson.R:3:3): GeoJSON serializes properly
Reason: sf cannot be loaded
Skip (test-serializer-geojson.R:25:3): Errors call error handler
Reason: sf cannot be loaded
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 5 | HTML serializer
✔ | 1 2 | htmlwidgets serializer
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-serializer-htmlwidgets.R:20:3): htmlwidgets serialize properly
Reason: On Windows
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 11 | JSON serializer
✔ | 11 | Unboxed JSON serializer
✔ | 5 | serializer-octet
✔ | 4 | rds serializer
✔ | 11 | YAML serializer
✔ | 30 | Serializer [0.4s]
✔ | 15 | Sessions [0.1s]
✔ | 5 | shared secret
✔ | 4 | Plumber Environment
✔ | 31 | Static [0.7s]
✔ | 32 | Tidy Plumber API [0.2s]
✔ | 4 | Warnings
✔ | 1 62 | OpenAPI [0.4s]
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Skip (test-zzz-openapi.R:256:3): api kitchen sink
Reason: On Windows
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✖ | 2 21 | plumb() package APIs [8.8s]
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Failure (test-zzz-plumb_api.R:88:3): edit opens correct file
`plumb_api("plumber", "01-append", edit = TRUE)` produced no output
Backtrace:
1. plumber:::with_options(...)
at test-zzz-plumb_api.R:88:2
8. testthat::expect_output(...)
Failure (test-zzz-plumb_api.R:88:3): edit opens correct file
`plumb_api("plumber", "12-entrypoint", edit = TRUE)` produced no output
Backtrace:
1. plumber:::with_options(...)
at test-zzz-plumb_api.R:88:2
8. testthat::expect_output(...)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ | 18 | plumb() plumber APIs [1.2s]
⠏ | 0 | Includes [WARNING] Deprecated: --self-contained. use --embed-resources --standalone
⠼ | 5 | Includes [WARNING] Deprecated: --self-contained. use --embed-resources --standalone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment