I think you can't do it cleanly. I think this is why you have a warning because it is really not advice, (and not allowed for CRAN
) to import in your package a non exported function from another package.
You can ask for the function to be exported, rewrite a similar function or if licence is ok and by respecting it, get the code in your package.
Follow the advice from http://r-pkgs.had.co.nz/check.html
Similarly you are not allowed to use ::: to access non-exported functions from other packages. Either ask the package maintainer to export the function you need, or write your own version of it using exported functions. Alternatively, if the licenses are compatible you can copy and paste the exported function into your own package. If you do this, remember to update Authors@R .