The R Project SVN R

Rev

Rev 84391 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 84391 Rev 84403
Line 2... Line 2...
2
## everywhere as from R 4.2.0) and a working Internet connection.
2
## everywhere as from R 4.2.0) and a working Internet connection.
3
 
3
 
4
## Nowadays method = "libcurl" is the default everywhere for http[s]://
4
## Nowadays method = "libcurl" is the default everywhere for http[s]://
5
 
5
 
6
## This used to check that https:// worked and skip if not, but then
6
## This used to check that https:// worked and skip if not, but then
7
## all the tests redirected to to https://
7
## all the tests redirected to https://
8
 
8
 
9
## check basic Internet access
9
## check basic Internet access
10
if(.Platform$OS.type == "unix" &&
10
if(.Platform$OS.type == "unix" &&
11
   is.null(nsl("cran.r-project.org"))) q()
11
   is.null(nsl("cran.r-project.org"))) q()
12
 
12