Combine Rd files into a single character vector. This function reads the Rd files from a package source directory or an installed package and combines them into a single string.
combine_rd(pkg_path, is_installed = FALSE, pkg_name = NULL)
A single string containing the combined Rd documentation.
Path to the package source directory or the installed package.
Logical indicating whether the package is installed (TRUE
) or a source package (FALSE
).
Optional package name if the package is installed.