diff --git a/R/preview.R b/R/preview.R index cb976815..cfbbbda4 100644 --- a/R/preview.R +++ b/R/preview.R @@ -1,6 +1,7 @@ #' Include a preview of the CV template output for documentation #' -#' @param input Path to the CV's template rmd file +#' @param template Name of the template +#' #' @keywords internal insert_preview <- function(template) { preview <- paste0("preview-", template, ".png") diff --git a/man/insert_preview.Rd b/man/insert_preview.Rd index 3bc13667..0ed5e20d 100644 --- a/man/insert_preview.Rd +++ b/man/insert_preview.Rd @@ -7,7 +7,7 @@ insert_preview(template) } \arguments{ -\item{input}{Path to the CV's template rmd file} +\item{template}{Name of the template} } \description{ Include a preview of the CV template output for documentation