Select Git revision
makePages.R
-
Ben Anderson authored
Merge branch 'master' of github.com:dataknut/weGotThePower # Conflicts: # paper/makePages.R
Ben Anderson authoredMerge branch 'master' of github.com:dataknut/weGotThePower # Conflicts: # paper/makePages.R
makePages.R 443 B
# run this to knit the .Rmd to an html file in the docs/ directory for github pages
library(markdown)
library(bookdown)
library(dkUtils)
myParams$repoLoc <- dkUtils::findParentDirectory("weGotThePower")
rmdFile <- paste0(myParams$repoLoc, "/paper/weGotThePower.Rmd")
rmarkdown::render(input = rmdFile,
output_format = "html_document2",
output_file = paste0(myParams$repoLoc, "/docs/weGotThePower.html")
)