Yes, we took a lot of inspiration from when my PhD student interned with RStudio:
You can build some cool stuff with RMarkdown and LearnR:
* https://rmarkdown.rstudio.com/
* https://rmarkdown.rstudio.com/docs/articles/rmarkdown.html
One interesting distinction is "tutorials" vs. "lessons"... LearnR and datacamp are much better for _lessons_, where you ask a learner to type in some code and check to see if you got it right, with hidden cells with the appropriate test cases backend.