hansenlab / minfi

Devel repository for minfi
58 stars 68 forks source link

getLocations() assumes the annotation package is on the search path #86

Open mtmorgan opened 7 years ago

mtmorgan commented 7 years ago

Annotation packages can be loaded but not attached

loadNamespace("IlluminaHumanMethylation450kanno.ilmn12.hg19")

but then getLocations() fails

> library(minfi)
> minfi::getLocations(IlluminaHumanMethylation450kanno.ilmn12.hg19::IlluminaHumanMethylation450kanno.ilmn12.hg19)
Error in as.environment(pointer$envir) : 
  no item called "package:IlluminaHumanMethylation450kanno.ilmn12.hg19" on the search list

The context is from a submitted package, https://github.com/Bioconductor/Contributions/issues/121 from @YinanZheng