demoR
demoR copied to clipboard
Mimic `assignr` to have a function knit files with and without demoR coding?
Saw your talk at JSM - I like the idea of this package.
I happen to currently write lectures in an Rmd and then toggle between creating a output = slidy_presentation and output = html file - the first to present and the second (associated with a clean Rmd) to give to students a "lecture notes".
At the end I provide students with 3 files:
- lecture_slides.html (to present)
- lecture.html (for notes)
- lecture.Rmd (for notes)
In this process I might want to have highlighting ++ seen in the lecture_slides, but not the student note. Might you consider a way to processing step that removes all demoR code (similar to assignr process)?
This is a great idea! I also use this slide/source code duality and it's a pain to make both. I'll look into this, thank you for the tip.
Awesome - thanks