cliprect
and expand
) were used, it would raise
Warning: 'length(x) = 4 > 1' in coercion to 'logical(1)'
.
In R 4.3, this warning changed to an error. (#117)Fixed logic in install_phantomjs()
when
force=TRUE
is used. (#89)
Fixed handling of file://
URLs in Windows, when the
URL contains a drive letter and colon, such as
"file://localhost/C:\\msys64"
. (#110, Thanks to Tomas
Kalibera)
Modified install_phantomjs()
function to only
install a new version of PhantomJS if the installed version is out of
date or it isn’t installed. (@coatless, #82)
Added force
parameter. When it is set to
TRUE
, install_phantomjs()
will reinstall
phantomjs. (@coatless, #82)
Added is_phantomjs_installed()
function to check if
PhantomJS was installed on the user’s computer. (@coatless, #82)
Fixed phantom_paths()
function to detect the path to
PhantomJS on Linux (@coatless, @wildintellect, #85)
Added debug
parameter. When it is set to
TRUE
, webshot()
will print out debugging
messages from PhantomJS and CasperJS.
Fixed #51: Webshot had trouble with some sites that use HTTPS.
Added appshot.shiny.appobj
functionality (schloerke,
#55)
Added support for R Markdown documents. (#48)
Closed #42: Converted some
instances of system2()
to use processx instead.
eval
argument for webshot()
did not
work.webshot
, resize
, and
shrink
all now accept a vector of URLs or filenames. ((#32), #33)
Updated to CasperJS 1.1.3.
Added zoom
option for higher-resolution screen
shots. (#26)
webshot()
now returns objects with class
webshot
. There is also a new knit_print
method
for webshot
objects. (#27)
Fixed problem installing PhantomJS on R 3.3.2 and above. (#35)
The leading tilde in the path of PhantomJS is expanded now (#19).
Changed URL for PhantomJS binaries so that
install_phantomjs()
doesn’t hit rate limits, and added
workaround for downloading problems with R 3.3.0 and 3.3.1.
webshot()
/appshot()
to take screenshots via
PhantomJS, and resize()
/shrink()
to manipulate
images via GraphicsMagick/ImageMagick and OptiPNG.