This repo contains the slides for a talk given at a Cabinet Office Coffee & Coding session on 1 November 2019.
The talk is about how to make an R package easily, with help from the {usethis} package in particular.
You can:
- see the slides in your browser
- explore the source code for the slides in this repo
- read an accompanying blog post
In the session I'll live-build a package called {cabinet} and push it to GitHub. You'll be able to:
- look at the source code
- see the package's website, made with {pkgdown}
- install the package with
remotes::install_github("matt-dray/cabinet")
- run the
cabinet_cat()
function to find out if a supplied charcter string matches the name of a cat that lives at the Cabinet Office
But don't install it because it's silly.