tryCatch [WARNING] Could not fetch resource anovaformulario.png

Warnings like

[WARNING] Could not fetch resource anovaformulario.png

seems not be catched by tryCatch like in code bellow using rmarkdown::render

tryCatch(
  {
    rmarkdown::render("filename.Rmd", output_format = "html_document", quiet = TRUE)
  },
  
  warning = function(cond) {
    
    if (grepl("fetch resource",cond$message)) {
      cat("Missing image file\n")
    } 
    
  }
)

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.