[Rd] url, readLines, source behind a proxy

Renaud Gaujoux renaud at mancala.cbio.uct.ac.za
Tue Apr 17 10:01:18 CEST 2012


Hi,

when I run R CMD check with flag --as-cran, the process hangs at stage:

* checking CRAN incoming feasibility ...

I am pretty sure it is a proxy issue.
I looked at the check code in the tools package and it seems that the 
issue is in the local function `.repository_db()` (defined in 
`tools:::.check_package_CRAN_incoming()`), which eventually calls 
`url()` with argument open="rb", that hangs probably because it does not 
use the proxy settings.
I had a similar issue with `source()`, which apparently uses internal 
network functions (not as download.file), but is supposed to work behind 
a proxy (correct?).
Does anybody else have this problem?

I was wondering if there is a way around, as I would like to be able to 
use --as-cran for my checks.
Thank you.

Renaud

-- 
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa



More information about the R-devel mailing list