Re: [Rd] url, readLines, source behind a proxy

2012-05-10 Thread Renaud Gaujoux
Thanks Henrik for the work around. It worked perfectly and save me lots of check time. Renaud -- Renaud Gaujoux Computational Biology - University of Cape Town South Africa On 24/04/2012 17:57, Henrik Bengtsson wrote: Looking at the source code (src/library/tools/R/check.R and src/library/too

Re: [Rd] url, readLines, source behind a proxy

2012-04-24 Thread Henrik Bengtsson
Looking at the source code (src/library/tools/R/check.R and src/library/tools/R/QC.R), I found that... WORKAROUND: You can trick 'R CMD check' to quickly skip the "check_package_CRAN_incoming" test by providing it with invalid URLs to repositories by setting system environment '_R_CHECK_XREFS_REPO

Re: [Rd] url, readLines, source behind a proxy

2012-04-24 Thread Renaud Gaujoux
On 23/04/2012 17:39, Prof Brian Ripley wrote: On 18/04/2012 16:04, Joshua Ulrich wrote: Hi Renaud, On Wed, Apr 18, 2012 at 12:22 AM, Renaud Gaujoux wrote: Hi Henrik, Could anybody behind a proxy check if the issue can be reproduced? My proxy is in fact provided by cntml, which acts as

Re: [Rd] url, readLines, source behind a proxy

2012-04-23 Thread Prof Brian Ripley
On 18/04/2012 16:04, Joshua Ulrich wrote: Hi Renaud, On Wed, Apr 18, 2012 at 12:22 AM, Renaud Gaujoux wrote: Hi Henrik, Could anybody behind a proxy check if the issue can be reproduced? My proxy is in fact provided by cntml, which acts as a local proxy that takes care of tricky authenti

Re: [Rd] url, readLines, source behind a proxy

2012-04-18 Thread Joshua Ulrich
Hi Renaud, On Wed, Apr 18, 2012 at 12:22 AM, Renaud Gaujoux wrote: > Hi Henrik, > > > Could anybody behind a proxy check if the issue can be reproduced? > My proxy is in fact provided by cntml, which acts as a local proxy that > takes care of tricky authentication protocols with the actual unive

Re: [Rd] url, readLines, source behind a proxy

2012-04-17 Thread Renaud Gaujoux
Hi Henrik, I am sure it would time out indeed. I am fine with time out due to poor connection, but get a bit frustrated if my connection is fine and timeout occurs because proxy settings are not read. All the more if I have to run R CMD check multiple times and wait for the timeout. But the iss

Re: [Rd] url, readLines, source behind a proxy

2012-04-17 Thread Henrik Bengtsson
On Tue, Apr 17, 2012 at 1:01 AM, Renaud Gaujoux wrote: > Hi, > > when I run R CMD check with flag --as-cran, the process hangs at stage: > > * checking CRAN incoming feasibility ... Doesn't it time-out eventually? I'm not behind a proxy but when I've been running 'R CMD check' whenon very poor 3

[Rd] url, readLines, source behind a proxy

2012-04-17 Thread Renaud Gaujoux
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