Package: plumber2 Check: tests New result: ERROR Running ‘testthat.R’ [9s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(plumber2) > > test_check("plumber2") Creating default route in request router Creating custom_route route in request router Creating default route in header router Creating minimal_api route in request router Creating default route in request router Creating request_handlers route in request router Creating request_handlers route in header router Saving _problems/test-annotation-request-7.R Creating request_handlers route in request router Creating request_handlers route in header router Creating minimal_api route in request router Creating minimal_api route in request router Creating minimal_api route in request router Creating minimal_api route in request router Creating api_with_low_order route in request router Creating api_with_high_order route in request router Creating api_with_low_order route in request router Creating api_with_high_order route in request router Rows: 3 Columns: 2 -- Column specification -------------------------------------------------------- Delimiter: "," chr (1): b dbl (1): a i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. Rows: 3 Columns: 2 -- Column specification -------------------------------------------------------- Delimiter: "\t" chr (1): b dbl (1): a i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. Rows: 1 Columns: 2 -- Column specification -------------------------------------------------------- Delimiter: "," chr (1): b dbl (1): a i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 1 | WARN 0 | SKIP 20 | PASS 379 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-Plumber2.R:10:1', 'test-annotation-request.R:363:3', 'test-api.R:78:1', 'test-api.R:182:1', 'test-parsers.R:1:1', 'test-parsers.R:48:1', 'test-serializers.R:1:1', 'test-serializers.R:44:1', 'test-serializers.R:165:1', 'test-spec_constructor.R:1:1', 'test-spec_constructor.R:33:1', 'test-spec_constructor.R:79:1', 'test-spec_constructor.R:129:1', 'test-spec_constructor.R:159:1', 'test-spec_constructor.R:301:1', 'test-spec_constructor.R:332:1', 'test-spec_constructor.R:356:1', 'test-spec_constructor.R:384:1', 'test-spec_constructor.R:417:1', 'test-spec_constructor.R:441:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-annotation-request.R:4:3'): docs get generated correctly ───── Expected `doc$paths` to have names `c("/hello/{test}/", "/hello/", "/plot/", "/type/{param}/")`. Differences: `actual`: "^/hello/{test}/" "^/hello/" "^/plot/" "^/type/{param}/" `expected`: "/hello/{test}/" "/hello/" "/plot/" "/type/{param}/" [ FAIL 1 | WARN 0 | SKIP 20 | PASS 379 ] Deleting unused snapshots: 'annotation-request/async_svg' Error: ! Test failures. Execution halted