webshot2 currently depends on a number of in-development packages.
You also need to have the Chrome browser installed on your system. You can also use other browsers based on Chromium, such as Chromium itself, Edge, Vivaldi, Brave, or Opera.
library(webshot2) # Single page webshot("https://www.r-project.org") # Multiple pages (in parallel!) webshot(c("https://www.r-project.org", "https://www.rstudio.com"))