[Rd] internet.R test hangs if http proxy needed (PR#3108)

b.rowlingson at lancaster.ac.uk b.rowlingson at lancaster.ac.uk
Mon May 26 19:48:11 MEST 2003

Full_Name: Barry Rowlingson
Version: 1.7.0
OS: RH8/Mandrake 9.1
Submission from: (NULL) (

internet.R in the tests directory hangs during 'make check' if an http proxy is
needed for http access from the machine. This happens in the httpget function
defined therein.

It tries to make a direct socket connection to port 80 of a remote machine, and
if local network policy does not permit that, then the test can hang. 

A fix? Perhaps skip that test if Sys.getenv("http_proxy") is defined. Or rewrite
httpget to use the proxy if defined.


More information about the R-devel mailing list