6:00 pm: Jonathan Harrison -- Is my code really doing what I think it is? A brief introduction to unit testing in R with testthat
6:30 pm: Srinivasa Rao Rao -- String matching with regular expressions in R
7:00 pm: Pizza and wine!
Jonathan Harrison (https://twitter.com/jonty3502/)
Title: Is my code really doing what I think it is? A brief introduction to unit testing in R with testthat
Description: How much confidence do you really have in results produced by code written your past self, and by others? Unit testing can provide a framework to ensure that code functions as expected. The testthat package (https://github.com/r-lib/testthat) makes unit testing in R both straightforward and satisfying. In this talk I will give an overview of the testthat package and how it can be used to test code effectively.
Srinivasa Rao Rao (https://twitter.com/SrinivasaRaoRao)
Title: String matching with regular expressions in R
Description: Pattern matching is required in many data analysis tasks, like selecting a list of filenames, checking the validity of user input, or data cleaning in general. Base R provides many functions to match strings using regular expressions (regex), but the Tidyverse package Stringr expanded this toolset to do many more cool things much more easily. In this short talk, I will first (briefly!) go through the regex 'language' and mention some common use cases for pattern matching with regex in R.
Oxford RUG is thrilled to be sponsored by Mango Solutions. Thanks to their generosity, there will be pizza from Franco Manca and wine after the meeting. When RSVPing, please answer the question whether you will be staying for pizza (so we get a sense how much pizza to order).