r-lib / revdepcheck

R package reverse dependency checking
https://revdepcheck.r-lib.org
Other
99 stars 31 forks source link

Error in read.dcf(file = tmpf) #275

Open martinamorris opened 3 years ago

martinamorris commented 3 years ago

This seems to be a replicate of #162

OS:  Windows 10
R:     4.02, run via Rstudio 1.2.5
r-lib/revdepcheck@04fe390
r-lib/crancache@7ea4e47

Error:

Error in read.dcf(file = tmpf) : cannot open the connection
In addition: Warning message:
In read.dcf(file = tmpf) :
  cannot open compressed file 'C:/Users/Martina%20Morris/AppData/Local/R-crancache/R-crancache/Cache/cran/src/contrib/PACKAGES', probable reason 'No such file or directory'

Traceback:

> traceback()
9: read.dcf(file = tmpf)
8: utils::available.packages(repos = c(cran = "file:///C:/Users/Martina%20Morris/AppData/Local/R-crancache/R-crancache/Cache/cran", 
   bioc = "file:///C:/Users/Martina%20Morris/AppData/Local/R-crancache/R-crancache/Cache/bioc", 
   other = "file:///C:/Users/Martina%20Morris/AppData/Local/R-crancache/R-crancache/Cache/other", 
   CRAN = "http://ftp.osuosl.org/pub/cran/", BioCsoft = "https://bioconductor.org/packages/3.11/bioc", 
   BioCann = "https://bioconductor.org/packages/3.11/data/annotation", 
   BioCexp = "https://bioconductor.org/packages/3.11/data/experiment", 
   BioCworkflows = "https://bioconductor.org/packages/3.11/workflows"
   ), filters = list())
7: eval(call, envir = parent.frame())
6: eval(call, envir = parent.frame())
5: available_packages(repos = repos)
4: cran_revdeps_versions(package, dependencies, bioc)
3: cran_revdeps(pkgname, dependencies, bioc = bioc)
2: revdep_init(pkg, dependencies = dependencies, bioc = bioc)
1: revdepcheck::revdep_check(num_workers = 4, timeout = as.difftime(60, 
       units = "mins"))

I've tried deleting the R-crancache and rerunning -- didn't help.

The PACKAGES file exists, but it's 0 bytes, in the gzip file also.