oncogenetics / LocusExplorer

An interactive graphical illustration of genetic associations and their biological context
MIT License
14 stars 15 forks source link

R3.1 ERROR: Pre-loaded bio packages cannot be unloaded #48

Closed zx8754 closed 9 years ago

zx8754 commented 9 years ago

Potential solution: start new clean R session, or #15, #37, and website version will cover this issue.

When trying the software in RStudio, we initially received the following error after running “runGitHub("LocusExplorer", "oncogenetics")” to start the tool:

Error in unloadNamespace(package) : namespace ‘AnnotationDbi’ is imported by ‘geneplotter’, ‘VariantAnnotation’, ‘GenomicFeatures’, ‘annotate’, ‘genefilter’, ‘biomaRt’, ‘OrganismDbi’, ‘biovizBase’ so cannot be unloaded Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc, : Package ‘AnnotationDbi’ version 1.31.18 cannot be unloaded

It seems that if the session already imported particular packages, there can be a problem with LocusExplorer because AnnotationDbi cannot be unloaded due to dependencies. It should be stated explicitly that an empty workspace should be used to start the tool to avoid this, or any other statement to tackle the problem.

zx8754 commented 9 years ago

Start the app with latest packages and in a new clean R session.