anespinosa / bookclub-advr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

R4DS Advanced R Book Club

Welcome to the R4DS Advanced R Book Club!

We are working together to read Advanced R by Hadley Wickham (Chapman & Hall, copyright 2019, 9780815384571). Join the #book_club-advr channel on the R4DS Slack to participate. As we read, we are producing notes about the book.

Meeting Schedule

If you would like to present, please see the sign-up sheet for your cohort (linked below, and pinned in the #book_club-BOOKABBR channel on Slack)!

The slides from the old clubs are in a separate repository.


How to Present

This repository is structured as a {bookdown} site. To present, follow these instructions:

  1. Setup Github Locally (also see Happy Git and GitHub for the useR)
  2. Install {usethis} install.packages("usethis")
  3. usethis::create_from_github("r4ds/bookclub-advr") (cleanly creates your own copy of this repository).
  4. usethis::pr_init("my-chapter") (creates a branch for your work, to avoid confusion).
  5. Edit the appropriate chapter file, if necessary. Use ## to indicate new slides (new sections).
  6. If you use any packages that are not already in the DESCRIPTION, add them. You can use usethis::use_package("myCoolPackage") to add them quickly!
  7. Build the book! ctrl-shift-b (or command-shift-b) will render the full book, or ctrl-shift-k (command-shift-k) to render just your slide. Please do this to make sure it works before you push your changes up to the main repo!
  8. Commit your changes (either through the command line or using Rstudio's Git tab).
  9. usethis::pr_push() (pushes the changes up to github, and opens a "pull request" (PR) to let us know your work is ready).
  10. (If we request changes, make them)
  11. When your PR has been accepted ("merged"), usethis::pr_finish() to close out your branch and prepare your local repository for future work.

When your PR is checked into the main branch, the bookdown site will rebuild, adding your slides to this site.

About


Languages

Language:TeX 100.0%