Lab Meeting Bookdown Example
2020-07-22
Chapter 1 Index
Remember each Rmd file contains one and only one chapter, and a chapter is defined by the first-level heading #
.
To compile this example to PDF, you need XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): https://yihui.name/tinytex/.
1.1 Housekeeping
- Clone the repository MBayOtolith/Thursdata
- Create a branch
- DO NOT edit the .yml files as they are the main component of the bookdown.
- .travis.yml is the continuous integration file. However, Travis has no access to our organization repos.
- On your branch (not the master) the work flow will be: Pull->Make changes->save->stage->commit(add notes)->push
- Then the master (Bia) will take your branch and merge->render->publish to have your changes show up on the book
Use the bookdown::render_book("index.Rmd")
to render the .Rmd files into a bookdown format, all packages must be installed and up to date in order to do so.
1.2 Good resources
- Using git and github: https://happygitwithr.com/
- Rmarkdown Tutorials and Sheet Cheats