boxiangliu / locuscomparer

LocusCompareR is a R package with visualization tools for comparing two genetic association datasets.
105 stars 18 forks source link

Package dependency issue with RMySQL #2

Closed sinarueeger closed 5 years ago

sinarueeger commented 5 years ago

Tried to run the example and got the following error

> library(locuscomparer)
> gwas_fn = system.file('extdata','gwas.tsv', package = 'locuscomparer')
> eqtl_fn = system.file('extdata','eqtl.tsv', package = 'locuscomparer')
> main(in_fn1 = gwas_fn, in_fn2 = eqtl_fn, title1 = 'CAD GWAS', title2 = 'Coronary Artery eQTL')
Error in loadNamespace(name) : there is no package called ‘RMySQL’

Since RMySQL is essential to run the main functions, you could have it as a dependency too. Does this make sense?

boxiangliu commented 5 years ago

Thank you. This is a good idea.

boxiangliu commented 5 years ago

I have added dependencies on RMySQL and DBI.