omarwagih / ggseqlogo

Publication-quality sequence logos in R
208 stars 30 forks source link

The vignette acts weirdly in RStudio #34

Closed pormr closed 1 year ago

pormr commented 1 year ago

The vignette page tries to open millions of web pages in external browser when you open it from RStudio (version 2023.09.1), which will quickly consume all memory on the computer (I have to kill the RStudio process to stop the propagation).

It seems to be caused by the following lines of JavaScript in the source file: https://github.com/omarwagih/ggseqlogo/blob/4adc8f298d16f7495dc2bf8abf52bbfebcc9afcc/vignettes/ggseqlogo_introduction.Rmd#L15-L20

omarwagih commented 1 year ago

I've removed the auto-redirect in the vignettes which I think is causing this. This is now merged in master so to see the change reinstall

devtools::install_github("omarwagih/ggseqlogo", force=T)

This should address the issue

pormr commented 1 year ago

Thank you! The vignette looks alright now ^