Iā€™m currently refactoring test files in a package. Beside some automatic refactoring, I am also manually updating lines of code. Here are some tips (or pet peeves, based on how I look at it / how tired I am šŸ˜)
Prequel: please read the R packages …

Continue reading: What I edit when refactoring a test …