commit | 78e61224400ce026e332bc892228cab2a09fd6f4 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Wed May 24 20:53:35 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Wed May 24 20:53:35 2017 -0400 |
tree | 7d2e5bca7e4e48a4566e29e293ba72e6781bf2f8 | |
parent | 179d39170a536419729702dc84eda86dd78927df [diff] [blame] |
Drop version due to CRAN resubmission; Add examples as requested
diff --git a/R/util.R b/R/util.R index 66ee3be..c16b79d 100644 --- a/R/util.R +++ b/R/util.R
@@ -26,6 +26,8 @@ #' #' @param name The LaTeX package name #' @param options The LaTeX options for the package +#' +#' @examples usepackage_latex("xcolor") #' @export usepackage_latex <- function(name, options = NULL) { invisible(knit_meta_add(list(latex_dependency(name, options))))