NCEAS / datateam-training

Training and reference materials for ADC and SASAP data team members
https://nceas.github.io/datateam-training/training/
Apache License 2.0
7 stars 22 forks source link

Sections after PI Correspondence don't show up in the reference #276

Closed laijasmine closed 3 years ago

ianbrunjes commented 3 years ago

@laijasmine I had a little time today while I was getting my RStudio environments up to speed to look into this.

The issue is in pi_correspondence/replicate_dataset.Rmd - For some reason, the function to set eval = FALSE for the other chunks in the Rmd does not play nicely with the bookdown rendering.

knitr::opts_chunk$set(eval = F)

If we take this out and just put a eval = FALSE on each chunk that needs it instead, things start to work as expected. I can submit a PR for this if you'd like, otherwise I'll leave you that info to do with as you see fit!

laijasmine commented 3 years ago

ah that makes sense! Thanks for catching it @BrennieDev . Feel free to put in a PR for it and remove the knitr line