Off the top of my head everything in tests/testthat/test-translate-package.R would be better as a snapshot test.