From 38519031fffb9f00faa515b3bfc5e25366c0e9a2 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Thu, 18 Jul 2024 15:55:36 +0200 Subject: [PATCH] Message is enough --- R/edit.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/edit.R b/R/edit.R index b816262..3d2cd07 100644 --- a/R/edit.R +++ b/R/edit.R @@ -67,7 +67,7 @@ image_read <- function(path, density = NULL, depth = NULL, strip = FALSE, coales defines <- validate_defines(defines) if(is.character(path) && grepl("\\.pdf$", path)){ if(Sys.which('gs') == ""){ - warning("Ghostscript (gs) not found on the PATH.\nTry image_read_pdf() to read PDF using pdftools instead.") + message("Ghostscript (gs) not found on the PATH.\nTry image_read_pdf() to read PDF using pdftools instead.") } } image <- if(isS4(path) && methods::is(path, "Image")){