Skip to content
Snippets Groups Projects
Select Git revision
  • 5b805cd5c89cb268313586951a0523a99a060066
  • master default protected
2 results

makePages.R

Blame
  • 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")
    
    )