Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 617 Bytes
packages <- c("rmarkdown", "roxygen2")
new_packages <- packages[!(packages %in% installed.packages()[,"Package"])]
if (length(new_packages)) {
install.packages(new_packages, repos = "http://cran.us.r-project.org")
}
library(rmarkdown)
rmarkdown::render("vignettes/readme.Rmd", output_format = "md_document", output_file = "../README.md", output_options = list("variant" = "markdown_github"))
library(rmarkdown)
rmarkdown::render("vignettes/xltabr_from_bottom_up.Rmd", output_format = "md_document", output_file = "../github_docs/xltabr_from_bottom_up.md", output_options = list("variant" = "markdown_github"))