Skip to content

Commit

Permalink
fix package check
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Sep 26, 2024
1 parent 9dd8e7b commit f830d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/router.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ setup_docs <- function(pr) {
pr$setApiSpec(api)
# this is a bit annoying, but setDocs fails if the package isn't
# already loaded
library(redoc)
requireNamespace("redoc")
pr$setDocs("redoc")
pr$mount("/schema", plumber::PlumberStatic$new(
file.path(system.file("schema", package = "serovizr"))))
Expand Down

0 comments on commit f830d50

Please sign in to comment.