Check Unstated Dependencies in Tests: tools:::check_packages_used_in_tests()

Source: r-devel/r-svn)

tools:::check_packages_used_in_tests(dir = ".", testdir = "tests/testthat")