Since you are using devtools, you can add
devtools::use_package("methyilumi")
in the console, and call methyilumi::methylumIDAT
in the body of your function. That way, the package is automatically listed in Imports
in the DESCRIPTION
file.
This sections gives the instructions for several different cases:
http://r-pkgs.had.co.nz/namespace.html#imports