Closed stla closed 1 year ago
The chromote::find_chrome
function is documented to return a path. Looking at the source, I see it starts with
if (Sys.getenv("CHROMOTE_CHROME") != "") {
return(Sys.getenv("CHROMOTE_CHROME"))
}
so it's not checking if you have the location set to something else. So this is an error on your system, or in the chromote
docs, but it seems worthwhile to work around it as you suggest.
Ah yes sorry, actually that's me who defined Sys.setenv(CHROMOTE_CHROME = "chrome")
.
I think this should be dealt with by chromote
rather than rgl
, so I'm closing this issue.
Hello,
The function
requireWebshot2
is:However
chromote::find_chrome()
returnschrome
for me, which is in the system path. Instead offile.exists(path)
, which returnsFALSE
for me, can't we usenchar(Sys.which(path)) > 0
?Now I confess I didn't seriously study this question.