Run package tests
Runs all package tests.
testthat package is needed to run all tests. The location tests
themselves can be extracted from the package via
This function simply calls the
test_dir function from the
testthat package on the test directory.
Whatever is returned by
test_dir from the