My personal favouriteR templates for doing reproducibledata analyses.


From CRAN:
install.packages("rtemps")Note that the package imports among others the librariesDT,ggplot2 andxfun.
Once the templates are installed, you can use them in 2 ways:
File >New File >R Markdown... >From Template (United HTMLTheme)File >New Project... >New Directory >Bookdown Lite project(Bookdown Lite Theme)create_rtemp() function which allows youto create a new directory with all the template files inside, ready tobe used/rendered.rtemps::create_rtemp(dirname ="new-dir",template ="united_html")rmarkdown::render(input ="new-dir/index.Rmd",output_format ="html_document",output_dir ="new-dir")Rscript-e"rtemps::create_rtemp(dirname = 'new-dir', template = 'bookdown_lite')"cd new-dir./_build.shdocs directory, so that it can easily be rendered withGitHubPages.split_by property in the_output.yml templatefile (checkthe doc).