Hi folks,
It looks like loading QuasR breaks biocLite() because it magically
wants to use biocLite() in qAlign():
$ find -not -name '*.Rnw' -exec grep -E '(BiocInstaller|biocLite)' {}
+ 2>/dev/null
./DESCRIPTION: S4Vectors (>= 0.9.25), IRanges, BiocInstaller, Biobase,
./R/qAlign.R: biocLite(genome, suppressUpdates=TRUE, lib=lib.loc)
./NAMESPACE:importFrom(BiocInstaller, biocLite)
$
Here's the error in a fresh R session:
Error: failed to update BiocInstaller:
namespace ?BiocInstaller? is imported by ?QuasR? so cannot be unloaded
What would be a good way to fix this? I think trying to use
biocLite() from inside a package is a bit naughty and installing
packages should be left up to the user instead?
Reproducible in R 3.4.1 and a daily build: