Try [`testit`](https://github.com/yihui/testit) for unit testing. If that is too limited, try testthat.
Try
testitfor unit testing. If that is too limited, try testthat.