R/path.R

Defines functions path_mini_frameworks path_mini_resources path_mini_pkg

#' Helper functions that return paths
#' @noRd
#' @inheritParams file.path
path_mini_pkg <- function() {
  system.file(package = pkg)
}

path_mini_resources <- function(...) {
  file.path(
    path_mini_pkg(), "rmarkdown", ...
  )
}

path_mini_frameworks <- function(...) {
  file.path(
    path_mini_pkg(), "frameworks", ...
  )
}
atusy/minidown documentation built on Feb. 19, 2022, 10:34 a.m.