I semi-frequently forget to make my google slides public before trying to render, which gives me an error that looks like this:
Downloaded 102569 bytes...Quitting from lines 16-17 (03-data-analysts.Rmd)
Error in png::readPNG(path, native = TRUE, info = TRUE) :
file is not in PNG format
Calls: local ... lapply -> FUN -> raster_dpi_width -> attr -> <Anonymous>
Execution `halted`
I know what this means because I do it all the time :) but it's pretty opaque if you haven't seen it before. Is there a good way to return a more informative error message - maybe some check to see if the slide is accessible before trying to include it?
I semi-frequently forget to make my google slides public before trying to render, which gives me an error that looks like this:
I know what this means because I do it all the time :) but it's pretty opaque if you haven't seen it before. Is there a good way to return a more informative error message - maybe some check to see if the slide is accessible before trying to include it?