You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I think I noticed a small bug in java_check function from selenium.R:
java_check <- function(){
javapath <- Sys.which("java")
if(identical(javapath, "")){
stop("PATH to JAVA not found. Please check JAVA is installed.")
}
javapath
}
Sys.which always returns named vector, so condition in if statement always evaluates to False, even if Java is not defined in the PATH. It resulted in not very informative error, when I tried to run selenium() function on machine with no Java in the system path.
The text was updated successfully, but these errors were encountered:
Hi, I think I noticed a small bug in java_check function from selenium.R:
Sys.which always returns named vector, so condition in if statement always evaluates to False, even if Java is not defined in the PATH. It resulted in not very informative error, when I tried to run selenium() function on machine with no Java in the system path.
The text was updated successfully, but these errors were encountered: