adokter / bioRad

R package for analysis and visualisation of biological signals in weather radar data
http://adokter.github.io/bioRad
Other
29 stars 16 forks source link

introductory exercises answers hidden built #245

Open adokter opened 5 years ago

adokter commented 5 years ago

The introductory exercises vignette (rad_aero_19.Rmd) contains a flag by which you can toggle whether to generate a vignette showing the anwers or not, i.e. by settingSHOW_ANSWERS to TRUE or FALSE.

We want to show the vignette with SHOW_ANSWERS=FALSE in the pkgdown site, and included in the articles section of the site.

We also want to generate the vignette with SHOW_ANSWERS=TRUE, but in that case not included in the articles section, but only as a (relatively hidden) page accessible by URL.

Figure out how to do this automatically and efficiently.

peterdesmet commented 5 years ago

Unfortunately code_folding is not available for html_vignettes: https://bookdown.org/yihui/rmarkdown/html-document.html#code-folding