wch / webshot

Take screenshots of web pages from R
http://wch.github.io/webshot/
228 stars 40 forks source link

webshot::install_phantomjs() #105

Open choiceMaster-ai opened 3 years ago

choiceMaster-ai commented 3 years ago

Hi. I receive this message attempting to execute {webshot::install_phantomjs()} after installing webshot library on Ubuntu 20.04: "Error: invalid version specification ‘qt.qpa.xcb: could not connect to display :0’, ‘qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.’, ‘This application failed to start because no Qt platform plugin could be initialized. ..." Cannot seem to resolve? Any assistance appreciated.

wch commented 3 years ago

What version of webshot are you using?

It may be related to this issue: https://github.com/rstudio/shinytest/issues/165#issuecomment-365052201

choiceMaster-ai commented 3 years ago

Installed version 0.5.2. I will follow up on the reference. Thank you.