Entry point to enable running unit tests within R (e.g. in testthat)
unitTest()
a List containing, number of tests run, number of failures, and any error messages.