Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 2.28 KB

README.md

File metadata and controls

32 lines (19 loc) · 2.28 KB

r-pkg-slides

Blog post

What?

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 topic

The talk is about how to make an R package easily, with help from the {usethis} package in particular.

You can:

The package

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