Hello, I encountered a problem when running ?R CMD check ?as-cran? at the step ?checking CRAN incoming feasibility?. The error message is as follows: * checking CRAN incoming feasibility ...Warning in read.dcf(con, c(.get_standard_repository_db_fields(), "Path")) : URL 'https://CRAN.R-project.org/src/contrib/PACKAGES.gz': Timeout of 60 seconds was reached Does anyone know how to deal with this issue? Thanks, Yue
[R-pkg-devel] R CMD check --as-cran Warning in read.dcf(con, c(.get_standard_repository_db_fields(), "Path")) : URL 'https://CRAN.R-project.org/src/contrib/PACKAGES.gz': Timeout of 60 seconds was reached
4 messages · Tiago Olivoto, Ivan Krylov, Hu Yue
Hi,
I had a similar issue while submitting a bug fix of my package {pliman}
using devtools::release()
----------------
Have you checked on win-builder (with `check_win_devel()`)?
1: Absolutely
2: I forget
3: Not yet
Sele??o: 1
Error in utils::download.file("
https://cran.R-project.org/web/packages/packages.rds", :
download from 'https://cran.R-project.org/web/packages/packages.rds'
failed
In addition: Warning messages:
1: In utils::download.file("
https://cran.R-project.org/web/packages/packages.rds", :
downloaded length 0 != reported length 0
2: In utils::download.file("
https://cran.R-project.org/web/packages/packages.rds", :
URL 'https://cran.R-project.org/web/packages/packages.rds': Timeout of 60
seconds was reached
-------------------
Thanks
Olivoto
Em s?b., 9 de set. de 2023 ?s 14:45, Hu Yue <yyyuehhu at gmail.com> escreveu:
Hello, I encountered a problem when running ?R CMD check ?as-cran? at the step ?checking CRAN incoming feasibility?. The error message is as follows: * checking CRAN incoming feasibility ...Warning in read.dcf(con, c(.get_standard_repository_db_fields(), "Path")) : URL 'https://CRAN.R-project.org/src/contrib/PACKAGES.gz': Timeout of 60 seconds was reached Does anyone know how to deal with this issue? Thanks, Yue [[alternative HTML version deleted]]
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
9 ???????? 2023 ?. 11:19:04 UTC, Hu Yue <yyyuehhu at gmail.com> ?????:
* checking CRAN incoming feasibility ...Warning in read.dcf(con, c(.get_standard_repository_db_fields(), "Path")) : URL 'https://CRAN.R-project.org/src/contrib/PACKAGES.gz': Timeout of 60 seconds was reached
This is just your computer failing to communicate with CRAN.R-project.org. Could be a temporary problem with your connection or maybe on CRAN itself. This is not a problem with your package.
Best regards, Ivan
1 day later
Got it, thank you so much for the explanation. Best, Yue From: Ivan Krylov <krylov.r00t at gmail.com> Date: Sunday, September 10, 2023 at 4:12 AM To: Hu Yue <yyyuehhu at gmail.com>, r-package-devel at r-project.org <r-package-devel at r-project.org> Subject: Re: [R-pkg-devel] R CMD check --as-cran Warning in read.dcf(con, c(.get_standard_repository_db_fields(), "Path")) : URL 'https://CRAN.R-project.org/src/contrib/PACKAGES.gz': Timeout of 60 seconds was reached 9 ???????? 2023 ?. 11:19:04 UTC, Hu Yue <yyyuehhu at gmail.com> ?????:
* checking CRAN incoming feasibility ...Warning in read.dcf(con, c(.get_standard_repository_db_fields(), "Path")) : URL 'https://CRAN.R-project.org/src/contrib/PACKAGES.gz': Timeout of 60 seconds was reached
This is just your computer failing to communicate with CRAN.R-project.org. Could be a temporary problem with your connection or maybe on CRAN itself. This is not a problem with your package. -- Best regards, Ivan