R/get-web-root.R

Defines functions get_web_root

#' Finds the root of a package web
#'
#' Currently returns the argument which defaults to the working directory.
#'
#' @param initial Starting directory of the search
#' @export
get_web_root <- function(initial = getwd()) {
  initial
}
krlmlr/rpkgweb documentation built on May 20, 2019, 6:18 p.m.