Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

available_apis() returns duplicates #706

Closed
blairj09 opened this issue Oct 21, 2020 · 0 comments · Fixed by #736
Closed

available_apis() returns duplicates #706

blairj09 opened this issue Oct 21, 2020 · 0 comments · Fixed by #736

Comments

@blairj09
Copy link
Collaborator

Reprex:

remotes::install_github("rstudio/plumber")
remotes::install_github("sol-eng/plumberExamples")

plumber::available_apis()
#> Available Plumber APIs:
#> * plumber
#>   - 01-append
#>   - 02-filters
#>   - 03-github
#>   - 04-mean-sum
#>   - 05-static
#>   - 06-sessions
#>   - 07-mailgun
#>   - 08-identity
#>   - 09-content-type
#>   - 10-welcome
#>   - 11-car-inventory
#>   - 12-entrypoint
#>   - 13-promises
#>   - 14-future
#>   - 15-openapi-spec
#>   - 16-attachment
#>   - 17-arguments
#>   - 00-hello-world
#>   - 01-append
#>   - 02-filters
#>   - 03-github
#>   - 04-mean-sum
#>   - 05-static
#>   - 06-sessions
#>   - 07-mailgun
#>   - 08-identity
#>   - 09-content-type
#>   - 10-welcome
#>   - 11-car-inventory
#>   - 12-entrypoint
#>   - 13-promises
#>   - 14-future
#>   - 15-openapi-spec
#>   - 16-attachment
#>   - 17-arguments
#>   - 18-logging
#>   - 19-reticulate
#>   - 20-simple-model
#>   - 21-ui
#>   - 22-parsers
#>   - 23-tidy-plumber
#> * plumberExamples
#>   - 01-append
#>   - 02-filters
#>   - 03-github
#>   - 04-mean-sum
#>   - 05-static
#>   - 06-sessions
#>   - 07-mailgun
#>   - 08-identity
#>   - 09-content-type
#>   - 10-welcome
#>   - 11-car-inventory
#>   - 12-entrypoint
#>   - 13-promises
#>   - 14-future
#>   - 15-openapi-spec
#>   - 16-attachment
#>   - 17-arguments
#>   - 00-hello-world
#>   - 01-append
#>   - 02-filters
#>   - 03-github
#>   - 04-mean-sum
#>   - 05-static
#>   - 06-sessions
#>   - 07-mailgun
#>   - 08-identity
#>   - 09-content-type
#>   - 10-welcome
#>   - 11-car-inventory
#>   - 12-entrypoint
#>   - 13-promises
#>   - 14-future
#>   - 15-openapi-spec
#>   - 16-attachment
#>   - 17-arguments
#>   - 18-logging
#>   - 19-reticulate
#>   - 20-simple-model
#>   - 21-ui
#>   - 22-parsers
#>   - 23-tidy-plumber

Notice that examples from both packages show up in each list. Instead, I would expect the examples included in plumber to only show up under the plumber entry, and examples included in plumberExamples to only show up under the plumberExamples entry.

meztez pushed a commit to meztez/plumber that referenced this issue Oct 24, 2020
Misnamed reference in vapply, closes rstudio#706
@meztez meztez mentioned this issue Oct 24, 2020
3 tasks
@schloerke schloerke added this to the v1.1.0 milestone Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants