Hello,
I am trying to update my package in Bioconductor, but the vignette is having problems on Windows. The problem seems to be related with the name of the pictures, but I already solved that problem in the first version of the package and it still works fine in the other OS.
You can see the error report here: http://bioconductor.org/checkResults/devel/bioc-LATEST/sincell/moscato1-buildsrc.html
And the code of the vignette: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/sincell/vignettes/sincell-vignette.Rnw
In the first version I could fix it adding this to the source code:
<<renaming_figures, echo=FALSE, results="hide", eval=TRUE>>= library(stringr) figs <- list.files("./figure", full.names=TRUE) figs.new <- str_replace(figs, "-1", "") file.rename(figs, figs.new ) @ %def
Does anyone know how to solve this now?
Thanks!
Miguel
And as an aside, you should reformulate this part as well:
You should not need to manually install dependencies. The whole idea behind the BiocInstaller package (and biocLite()) is to allow people to do something like
And have it Just Work(TM). Having unnecessary workarounds in your vignette works directly against years of effort to get people to use biocLite() rather than doing random things like what you are suggesting. Please change your vignette to use biocLite() directly!