Created
February 26, 2018 11:21
-
-
Save przmv/547d1e3ef9d8f060c31a6c077d1ced01 to your computer and use it in GitHub Desktop.
Rebuild Dygraphs for R project and docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env Rscript | |
library(roxygen2) | |
library(rmarkdown) | |
pkg <- "dygraphs" | |
roxygen2::roxygenize(pkg) | |
install.packages(pkg, repos = NULL, type = "source") | |
rmarkdown::render_site(paste(pkg, "docs", sep = "/")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment