Skip to content
Prev 25392 / 63424 Next

Cross-platform check for internet connection

On Fri, 22 Jun 2007, hadley wickham wrote:

            
There are several packages on CRAN which do that.  Some do take a long 
time, and as a result are only partially checked.  If I recall right, 
'celsius' is an example on the stoplist (it takes many tens of minutes to 
get its data) and 'tseries' and a couple more fail occasionally when the 
data are not available in time.
You could also not run the example on Windows by wrapping it in 
if(.Platform$OS.type != "windows) {}
but I don't see that as necessary.