ahmohamed / lipidr

Data Mining and Analysis of Lipidomics datasets in R
https://www.lipidr.org/
Other
27 stars 13 forks source link

adding in package to .data_internal #34

Closed rmflight closed 2 years ago

rmflight commented 2 years ago

If someone tries to use the package without doing library(lipidr) first (eg lipidr::annotate_lipids), then data doesnt know where to find the data, and it will fail. I know b/c I tried to use it via lipidr::annotate_lipids and it will fail.

By explicitly adding the package here, it should work both using library() first and doing it without attaching it.

ahmohamed commented 2 years ago

Thanks for submitting this PR. I really appreciate it. I'll merge this now.

rmflight commented 2 years ago

No problem! Thank you for the wonderful package! Saved me from trying to write a lipid annotator myself!