thackl / gggenomes

A grammar of graphics for comparative genomics
https://thackl.github.io/gggenomes/
Other
572 stars 64 forks source link

read_feats error #183

Open cms72 opened 2 months ago

cms72 commented 2 months ago

Hi,

gggenomes used to work for me, but now I get the following error. I've tried to re-install this using this dev package, but to no avail: devtools::install_github("thackl/gggenomes@fix-156",force =TRUE)

g0 <- gggenomes::read_feats(list.files(path = "~/Documents/gggenomes/",pattern="*.gbk",full.names = TRUE)) Reading 'gbk' with read_gbk():

I hope you can help! Thanks!

thackl commented 2 months ago

Hi,

somehow one of the dependencies (IRanges) was not installed. I will look into why not. Easiest fix for you is to try and install it manually. That should fix it. You can find instructions here:

https://www.bioconductor.org/packages/release/bioc/html/IRanges.html

thackl commented 2 months ago

Note to self, IRanges is currently in "Suggests". Need to check where it's needed and whether to move it to "Depends"

cms72 commented 2 months ago

@thackl - manually installing IRanges fixed it. Many thanks!

iimog commented 2 months ago

As IRanges is a bioconductor package, it might be problematic to have in "Depends" for our planned cran submission.