I wonder if there is any principled way of including internal functions from other packages in an R package. Specifically I would like to use rmarkdown:::html_dependencies_as_string
in my package.
I can of course copy the source code of this function to my package (giving credits to the authors of course). However, I wonder if there is any better way of doing this?