On 17 January 2024 at 09:42, Simon Urbanek wrote: | that check always hangs for me (I don't think it likes NZ ;)), so I just use | | _R_CHECK_CRAN_INCOMING_REMOTE_=0 R CMD check --as-cran ...
You can also set it in Renviron files consulted just for checks: $ grep INCOMING_= ~/.R/check.Renviron* /home/edd/.R/check.Renviron:_R_CHECK_CRAN_INCOMING_=FALSE /home/edd/.R/check.Renviron-Rdevel:_R_CHECK_CRAN_INCOMING_=TRUE $ Best, Dirk | | Cheers, | Simon | | | > On Jan 16, 2024, at 6:49 PM, Rolf Turner <rolftur...@posteo.net> wrote: | > | > | > On Tue, 16 Jan 2024 16:24:59 +1100 | > Hugh Parsonage <hugh.parson...@gmail.com> wrote: | > | >>> Surely the software just has to check | >> that there is web connection to a CRAN mirror. | >> | >> Nope! The full code is in tools:::.check_package_CRAN_incoming (the | >> body of which filled up my entire console), but to name a few checks | >> it has to do: check that the name of the package is not the same as | >> any other, including archived packages (which means that it has to | >> download the package metadata), make sure the licence is ok, see if | >> the version number is ok. 10 minutes is quite a lot though. I suspect | >> the initial connection may have been faulty. | > | > Well, it may not have been 10 minutes, but it was at least 5. The | > problem is persistent/repeatable. I don't believe that there is any | > faulty connection. | > | > Thanks for the insight. | > | > cheers, | > | > Rolf Turner | > | > -- | > Honorary Research Fellow | > Department of Statistics | > University of Auckland | > Stats. Dep't. (secretaries) phone: | > +64-9-373-7599 ext. 89622 | > Home phone: +64-9-480-4619 | > | > ______________________________________________ | > R-package-devel@r-project.org mailing list | > https://stat.ethz.ch/mailman/listinfo/r-package-devel | > | | ______________________________________________ | R-package-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-package-devel -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel