Ludvig Olsen Profile picture
PhD student at the Department of Molecular Medicine, Aarhus University Hospital @moma_dk https://t.co/yUknYTzyL0 https://t.co/zyUbpeW7fw
Mar 1, 2020 15 tweets 9 min read
xpectr is a new R 📦 for generating testthat unit tests (expectations). Its goal is to systematize and ease the process of building good tests into packages.
It comes with multiple @rstudio addins and a set of commonly needed utilities. 1/n
#rstats #datascience #R @rstudiotips I often end up writing the same set of tests again and again, which is honestly quite boring and time consuming. By generating these standard tests, I can spend my time thinking about additional, meaningful tests. Saves a lot of cognitive processing! 2/n
github.com/LudvigOlsen/xp…