Get YouTube subscribers that watch and like your videos
Get Free YouTube Subscribers, Views and Likes

Getting Started with Unit Testing in R

Follow
R-Ladies Philly

In this workshop, we discuss how to get started with unit testing in R, which is formal automated testing of functions within packages. We’ll demonstrate handy functions in `usethis` and `devtools`, strategies for writing tests, debugging techniques, and broad concepts in function writing that facilitate a smoother testing process.

This workshop will pick up exactly where we left our little `ralph` (aka RLadies Philly) package one year ago with “Your first R package in 1 hour: Tools that make R package development easy” (https://www.pipinghotdata.com/talks/2.... Participants will get the most out of this workshop if they review those materials in advance, or if they are already familiar with building R packages with `devtools` and `usethis`.

Materials for the workshop are available here: https://github.com/shannonpileggi/ral...

Please install, or update, the following packages in advance of the workshop: usethis, devtools, testthat, covr, DT, broom, glue, dplyr, purrr, magrittr, and rlang (or tidyverse).

Presenters:
Shannon Pileggi
Gordon Shotwell

posted by branjivuna