Skip to content

Commit

Permalink
Use cli_alert_warning()
Browse files Browse the repository at this point in the history
  • Loading branch information
howardbaek committed Jul 7, 2023
1 parent 25f8bd1 commit 1ac3054
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/download_gs_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ download_gs_file = function(gs_url, out_type = "pptx") {
}

if (warn_user) {
warning(
paste0(
"This presentation may not be available, ",
"did you turn link sharing on?")
cli::cli_alert_warning(
paste("Is link sharing enabled?",
"It's possible that this presentation isn't accessible.")
)
}

tmp
}

Expand Down

0 comments on commit 1ac3054

Please sign in to comment.