I experienced this same problem using devtools::check() as well as R CMD check, so it is likely not a devtools bug. It appears to be an interaction between testthat and waldo versions.
I upgraded testthat from 3.2.1.1 to 3.2.3, which automatically upgraded waldo to 0.6.1. R CMD check is now successful.