2025-05-15 / Murielle Delmotte / package, development, tips
Mock Them All: Simulate to Better Test with testthat
Unit testing in R. You know, those small functions that ensure your code works flawlessly—even when you’re on vacation or writing new modules at 2 a.m. But let’s be honest: when it comes to testing user interactions or external resources, things can quickly turn into a headache. What do you do when your code requires a file selection dialog or ...