Performs a series of documentation consistency checks on a package using roxygen2 parsed blocks.
The following checks are performed:
Missing @examples tag in exported functions
Missing example content
Missing @title
Usage of discouraged @describeIn
Usage of deprecated @return
Missing @returns
check_docs(pkg_dir = ".", verbose = interactive(), error_on_fail = FALSE)An object of class "releaser_doc_check" containing
a named list of detected issues.
Path to the R package.
Logical. If TRUE, prints a formatted summary.
Logical. If TRUE, stops execution if any issue is
found.