expect_cpp_tests_pass {testthat} | R Documentation |
Test compiled code in the package package
. See
use_catch()
for more details.
expect_cpp_tests_pass(package)
package |
The name of the package to test. |
A call to this function will automatically be generated
for you in tests/testthat/test-cpp.R
after calling
use_catch()
; you should not need to manually call
this expectation yourself.