From 1ac3054ff5f90cc8c84a7fc970134b1a0644c13a Mon Sep 17 00:00:00 2001 From: howardbaek Date: Fri, 16 Jun 2023 15:27:56 -0700 Subject: [PATCH] Use `cli_alert_warning()` --- R/download_gs_file.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/download_gs_file.R b/R/download_gs_file.R index 293146a..105e3e3 100644 --- a/R/download_gs_file.R +++ b/R/download_gs_file.R @@ -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 }