Skip to content

Commit

Permalink
track vignette precompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mhpob committed Jan 10, 2024
1 parent f466d71 commit 4b3bdf7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions vignettes/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.html
*.R
!precompile.R
8 changes: 8 additions & 0 deletions vignettes/precompile.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Precompiled vignettes that depend on API key
# borrowed from https://github.com/ropensci/eia/blob/master/vignettes/precompile.R
# and this blog post https://ropensci.org/blog/2019/12/08/precompute-vignettes/

library(knitr)
knit("vignettes/introduction.Rmd.orig", "vignettes/introduction.Rmd")
knit("vignettes/matos-otndo.Rmd.orig", "vignettes/matos-otndo.Rmd")
knit("vignettes/multiple-projects.Rmd.orig", "vignettes/multiple-projects.Rmd")

0 comments on commit 4b3bdf7

Please sign in to comment.