Re: [Rd] Internet access and R CMD make check-devel

2020-10-05 Thread Thomas J. Leeper
Thanks, Gabe and Gabor. In my case it causes a non-zero status and fails the check-devel step. I’ll definitely fall back to modifying the code but it doesn’t seem like this is exactly the intended behavior of the tests. -Thomas El El lun, 5 oct 2020 a las 19:42, Gabriel Becker escribió: > Tho

Re: [Rd] Internet access and R CMD make check-devel

2020-10-05 Thread Gabriel Becker
Thomas, In my experience, as pointed out also by Gabor, its often part of the devops build process to remove/comment out these tests or otherwise modify them so that they will pass (if they SHOULD pass) in your environment. That said, a quick look at the Makefile does suggest that failing on the

Re: [Rd] Internet access and R CMD make check-devel

2020-10-05 Thread Gábor Csárdi
One way would be to comment out these tests, or really turn off the internet, and then these tests don't run. Indeed, a successful DNS query does not mean that you can connect to the internet in general. FWIW pingr::is_online [1] implements a method that works well. Apple's Captive Portal test pag

[Rd] Internet access and R CMD make check-devel

2020-10-05 Thread Thomas J. Leeper
I am trying to install R on CentOS (either 7 or 8, behavior is the same) in an environment behind a firewall and while I am able to run: R CMD make check I am unable to run: R CMD make check-devel These latter tests fail. The failure occurs in the internet access if() conditional statement in t