Open PhilippPro opened 3 years ago
We solved the problem. From our office server the URL that are tried to connect to are not accessible because of the Proxy. We solved the problem by setting the checkonline
argument to FALSE
in pingr::is_up(...)
in the function httr_get
:
if (!pingr::is_up(pieces$hostname, pieces$port, check_online = FALSE)) {
stop("Shiny app is no longer running")
}
It would be nice if you could add a generic option for setting this checkonline = FALSE
, so that we do not have to build our own shinytest package.
Best regards, Philipp
+1. I reproduced this error when I was working with my in laws spotty WiFi connection. The error disappeared as soon as I had a reliable internet connection again (hotspot). Based on this, it seems as though shinytest requires an internet connection currently to run, even if the app is being run and tested locally. An option to set check online to false would be greatly appreciated (Or at least documentation of the limitation).
shinytest was running without problems with version 1.4.0, now in 1.5.0 I get following message (on a R/RStudio on a server). What is the reason for this?
sessionInfo() Output: