Open Ax3man opened 5 years ago
This is just as an FYI. You are currently exporting the rather odd RCircos.Env object to the gobal environment to make your package work: https://github.com/stianlagstad/chimeraviz/blob/master/R/plot_circle.R#L249.
RCircos.Env
This is not particularly nice, since users now have this floating around their global envir, and it makes R CMD give you a NOTE. Here's a StackOverflow question with a simple alternative solution to the identical issue: https://stackoverflow.com/questions/56875962/r-package-transferring-environment-from-imported-package/56894153#56894153.
Hope this helps!
Hi @Ax3man, thanks for the tip! The solution you posted in that stackoverflow-thread seems like a better way of doing it. I'll leave this issue open, and I'll get back to it when the right motivation finds me.
This is just as an FYI. You are currently exporting the rather odd
RCircos.Env
object to the gobal environment to make your package work: https://github.com/stianlagstad/chimeraviz/blob/master/R/plot_circle.R#L249.This is not particularly nice, since users now have this floating around their global envir, and it makes R CMD give you a NOTE. Here's a StackOverflow question with a simple alternative solution to the identical issue: https://stackoverflow.com/questions/56875962/r-package-transferring-environment-from-imported-package/56894153#56894153.
Hope this helps!