This question already has an answer here:
- Regular expression to match a line that doesn't contain a word? 27 answers
- Better explanation of when to use Imports/Depends 4 answers
I am developing an R package that uses third party functions available in the Bioconductor package "methyilumi"
In the code for my R package at the very beginning I import methylumi
with library(methylumi)
.
During the development (I use roxygen2 and devtools) everything works fine.
However, when I install the package and run my functions, I get the error:
could not find function "methylumIDAT"
.
Of course everything is solved if I import the package manually, but how can I make
so that methylumi
is available whenever I load my own package?