Open georgechaide opened 6 months ago
Note that the overwirte argument is ignored:
mdsr:: save_webshot function (map, path_to_img, overwrite = FALSE, vwidth = 800, vheight = 600, cliprect = "viewport", ...) { out <- fs::as_fs_path(path_to_img) if (!fs::path_ext(out) == ".png") { out <- fs::path_ext_set(out, ".png") } if (fs::file_exists(out)) { warning("file exists already") } tmp_file <- fs::file_temp(ext = ".html") map %>% htmlwidgets::saveWidget(file = tmp_file, selfcontained = FALSE) suppressWarnings(webshot2::webshot(tmp_file, file = out, vwidth = vwidth, vheight = vheight, cliprect = cliprect, ...)) return(out) }
Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!
DESCRIPTION
Maintainer
BugReports
URL
Apologies: that was my error. I will do exactly that.
Note that the overwirte argument is ignored: