Changelog
Source:NEWS.md
webshot2 0.1.2
CRAN release: 2025-04-23
Updated the documentation for
webshot()
to clarify thatexpand
only applies to the clipping rectangle determined byselector
. (#68)webshot()
now roundsvwidth
andvheight
to the nearest integer to match Chrome’s expectations. If this behavior is somehow problematic, you can usevwidth = I(my_width)
to avoid the conversion. (#70)webshot()
now surfaces errors that occur when working with the lower-level screenshot API provided by Chrome via chromote. (#69)webshot()
works harder to set the size of the virtual viewport whenvwidth
andvheight
are used. This change improves compatibility with recent versions of Chrome (>= v132). (#72)
webshot2 0.1.1
CRAN release: 2023-08-11
webshot()
now supports JPEG (.jpg
or.jpeg
) and WEBP (.webp
) image formats. (@trafficonese #45)Fixed #52:
rmdshot()
did not work when used to screenshot an R Markdown document withruntime: shiny
orruntime: shinyrmd
. (#53)Fixed #24: Console messages from
webshot()
can now be suppressed by settingquiet = TRUE
or using thewebshot.quiet
global option. (@trafficonese #45)