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 Nov. 13, 2024, 8:31 a.m.