Re: [Bioc-devel] "length(url) == 1 is not TRUE" error for vignette only on build system

2020-09-11 Thread Martin Morgan
bfcquery() just searches the cache, so if you've created two resources that match the name then you end up with two rids > xx = bfcnew(bfc, "foo") > bfcquery(bfc, "foo", "rname") # A tibble: 1 x 10 rid rname create_time access_time rpath rtype fpath last_modified_t… etag

Re: [Bioc-devel] "length(url) == 1 is not TRUE" error for vignette only on build system

2020-09-11 Thread Pages, Herve
I'm not a BiocFileCache expert, sorry. You will probably get better help by opening a BiocFileCache issue on GitHub. Cheers, H. On 9/11/20 12:00, Shraddha Pai wrote: > Hi Herve, > Sorry - hit shortcut to "send" by mistake. > > This is the code snippet that got cut off: > if (length(rid)>1) {

Re: [Bioc-devel] "length(url) == 1 is not TRUE" error for vignette only on build system

2020-09-11 Thread Pages, Herve
Hi Shraddha, Seems to be a BiocFileCache issue. On my laptop the following code (taken from your Predict_CaseControl_from_CNV.Rnw vignette): require(BiocFileCache) geneURL <- paste("http://download.baderlab.org/netDx/;, "supporting_data/refGene.hg18.bed",sep="") cache <-

Re: [Bioc-devel] "length(url) == 1 is not TRUE" error for vignette only on build system

2020-09-11 Thread Martin Morgan
At the top of each build report page, e.g., http://bioconductor.org/checkResults/3.12/bioc-LATEST/netDx/malbec1-buildsrc.html there's a link with title 'following settings' describing build-system-specific settings. Does this help to reproduce the problem? Martin On 9/11/20, 11:52 AM,

[Bioc-devel] "length(url) == 1 is not TRUE" error for vignette only on build system

2020-09-11 Thread Shraddha Pai
Hello BioC-devel team, Any idea why netDx 1.1.4 fails on the bioc devel build system? This is the error: --- re-building 'Predict_CaseControl_from_CNV.Rmd' using knitr Quitting from lines 173-195 (Predict_CaseControl_from_CNV.Rmd) Error: processing vignette 'Predict_CaseControl_from_CNV.Rmd'