Does importFrom allow importing internal functions?

I wanted to use an internal function from another package in a package I am working on. The package is already a dependency, and I realized it additionally has an internal function that would be convenient for my code.

Is
#' @importFrom package internal_function

valid? or is there some other preferred way to import it

You cannot import internal functions. You can copy them into your package if the licenses allow that.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.