Commit fb7d8301 authored by Radford Neal's avatar Radford Neal

change internet.R to avoid looking at CRAN's html code

parent 17952e87
......@@ -12,3 +12,7 @@ Fixed stack imbalance bug in assignment to arrays with zero-length
subscripts.
Fixed problem with news() due to pqR version numbers being dates.
Changed the internet.R test to avoid looking at CRAN's html code,
which is subject to change. Looks instead at a test file at
pqR-project.org.
......@@ -14,7 +14,7 @@ if(.Platform$OS.type == "unix" &&
nrow(available.packages(contrib.url("http://cran.r-project.org")))
# test url connections on http
zz <- url("http://cran.r-project.org/")
zz <- url("http://pqR-project.org/internet.html")
readLines(zz)
close(zz)
......
<html>
<head><title>File used to test http connections when checking pqR</title></head>
<body>
<h1>File used to test http connections when checking pqR</h1>
This is the text in this test page.</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment