I am learning to develop a package.
- When I want to import a function from a non-exported function from a imported package, like
blogdown:::scan_yaml, I always get this warning,
object ‘scan_yaml’ is not exported by 'blogdown'
- If I change
#' import blogdownto
#' importFrom blogdown scan_yaml, I will get this error.
Error : object ‘scan_yaml’ is not exported by 'namespace:blogdown'
How can I import this function in a correct way?