Often when a test suite fails you want to re-run just a subset of the whole suite to troubleshoot individual problems. This can be done in R devtools test and testthat by giving a ‘filter’. The filter is a regex matching the filename of the tests that you want to run. Like this:
devtools::test(filter="pdf-un")
Will run only the tests in the file “test-pdf-uncompress.R” (assuming no other files match the filter).