Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

run_cpp_tests

Do C++ tests past?


Description

Test compiled code in the package package. 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.

Usage

expect_cpp_tests_pass(package)

run_cpp_tests(package)

Arguments

package

The name of the package to test.


testthat

Unit Testing for R

v3.0.2
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre], RStudio [cph, fnd], R Core team [ctb] (Implementation of utils::recover())
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.