R/rdoc.r

Defines functions rdoc

Documented in rdoc

#' Create documentation for a package
#'
#' @description
#' Documents a package located in \code{path} using \code{\link[roxygen2]{roxygen2-package}}.
#'
#' @template path
#' @template return-itrue
#' @export
rdoc = function(path = getwd()) {
  updatePackageAttributes(path = path)
  
  invisible(TRUE)
}
rdatsci/rt documentation built on Dec. 6, 2020, 5:31 p.m.