- Fixed #101, #116: When some parameters (like
cliprect
andexpand
) were used, it would raiseWarning: 'length(x) = 4 > 1' in coercion to 'logical(1)'
. In R 4.3, this warning changed to an error. (#117)
- Fixed #112: handling of Windows paths of the form "c:\file\path.html" did not work correctly. (#114)
-
Fixed logic in
install_phantomjs()
whenforce=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 toTRUE
,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 toTRUE
,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.
- Fixed #43: The
eval
argument forwebshot()
did not work.
- Updated vignette so it doesn't error when PhantomJS is not present.
-
webshot
,resize
, andshrink
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 classwebshot
. There is also a newknit_print
method forwebshot
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.
- The first CRAN release. Provided functions
webshot()
/appshot()
to take screenshots via PhantomJS, andresize()
/shrink()
to manipulate images via GraphicsMagick/ImageMagick and OptiPNG.