R/make_pkg_map.R

Defines functions make_pkg_map

Documented in make_pkg_map

#' Make a package map
#' 
#' Using [pkgapi::map_package()]
#' 
#' @param path (character) path to a package, default: current directory
#' @return the output from [pkgapi::map_package()]; a thin wrapper around
#' that fxn
make_pkg_map <- function(path = ".") {
  has_pkg("pkgapi")
  pkgapi::map_package(path)
}
ropensci/mutant documentation built on Dec. 30, 2021, 11:53 a.m.