Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelru committed Sep 19, 2024
1 parent 1939978 commit 6ee965c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/parse_url.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#' create_shinylive_url(code)
create_shinylive_url <- function(code, mode = c("app", "editor"), header = TRUE) {
stopifnot(is.character(code) && length(code) == 1)
match.arg(mode)
mode <- match.arg(mode)
stopifnot(is.logical(header) && length(header) == 1)

# implementation based on "Create ShinyLive Link" feature of Shiny VSCode extension
Expand Down

0 comments on commit 6ee965c

Please sign in to comment.