Skip to content
Prev 16584 / 21312 Next

[Bioc-devel] Unable to reproduce vignette build error

I am able to reproduce this locally.
Make sure you are using R 4.0.0 and have updated versions of all Bioconductor packages
BiocManager::valid()
BiocManager::install()

I did an "R CMD Stangle Installing_and_Using_BrainSABER.Rmd" to produce an R file of code for the vignette and also tried to run the vignette manually with
source("Installing_and_Using_BrainSABER.R", echo=TRUE)

The code that produces the ERROR is:
Error in `[<-`(`*tmp*`, a, s, value = sim_score[i]) :
  subscript out of bounds


 Or more precisely:
Error in `[<-`(`*tmp*`, a, s, value = sim_score[i]) :
  subscript out of bounds
2: getSimMatrix(sim_score = sim_score[, x], relevantGenes = relevantGenes)
1: getSimMatrix(sim_score = euc_sim, relevantGenes = trimmed_AIBSARNA)

Hopefully this will help you pinpoint and debug more.


Lori Shepherd

Bioconductor Core Team

Roswell Park Comprehensive Cancer Center

Department of Biostatistics & Bioinformatics

Elm & Carlton Streets

Buffalo, New York 14263
Message-ID: <MN2PR12MB4077BDE2592F6C9F8C7A1C3CF9D40@MN2PR12MB4077.namprd12.prod.outlook.com>
In-Reply-To: <CAFgKK9BvSn_LOObsWq8uMTVjQajFuDZ-MBccgNe_w=V9r8a1dg@mail.gmail.com>