This is a fork of the phenomenal R repo r-pkg-slides
written by Matt Dray, which I've tweaked slightly for the Bergen R Ladies "How to make an R package" workshop in August 2022. The changes include updates for 2022 {usethis} usage and a change from cats to fjords. The slideshow provides nice clear instructions on how to build your very first R package.
This repo contains code to create the slides themselves, built using the xaringan package. Think of it like Markdown-but-for-slides.
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 the accompanying original blog post
In the session we'll live-build a package called {fjoRds} 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("popovs/fjoRds")
- run the
fjord_finder()
function to find out if a supplied character string matches the name of a Norwegian fjord