While on my visit to the University of Nebraska, Lincoln, I had the pleasure of taking over Chris Chizinski’s R class on Friday (2018-11-02).
I demo’d a few things about setting up RStudio, using RStudio packages and the here package, and then walked through a workflow of doing data analysis, converting code into functions, and writing scripts and functions to be more accessible for readers.
For reference, here are my slides.
For my rEDM package, I’ve been using the pkgdown package to build a website comprising all the documentation and vignettes, for easy reference from a web browser.
The normal workflow for this is something like:
Make updates to the package. Run pkgdown::build_site() to generate the website files into a docs folder. Commit changes and upload to GitHub. Use GitHub Pages, configured to source the files from the docs folder on the master branch.