build_readme.R

# Small script for generating github readme and github pages.

unlink("README_files/", recursive = TRUE)
rmarkdown::render("README.Rmd", output_format = "github_document")
rmarkdown::render("README.Rmd", output_format = "html_document", output_file = "docs/index.html")
file.remove("README.html")
file.remove("docs/index.md")

browseURL("docs/index.html")
Appsilon/highlighter documentation built on May 5, 2019, 7:04 a.m.