Skip to content

Commit

Permalink
Message is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jul 18, 2024
1 parent ea99c31 commit 3851903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/edit.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")){
Expand Down

0 comments on commit 3851903

Please sign in to comment.