ex1-single-file/README.md

ex1: A single R Markdown file

To add the reproducibility features to a single file, change the output format in the YAML header to repdoc::repdoc_html and then render it with rmarkdown::render. This performs the following:

  1. Inserts the date the results were created
  2. Reports the revision of the Git repo (if in Git repo)
  3. Reports the Git status of the R Markdown file (if in Git repo)
  4. Sets a seed for random number generation
  5. Inserts sessionInfo() at the end of the analysis


jdblischak/repdoc documentation built on May 14, 2019, 12:46 p.m.