Variadic / code generated version of the warning and stop functions can be found within the respective C++11 or C++98 exceptions.h included below.
| 112 | // can be found within the respective C++11 or C++98 exceptions.h |
| 113 | // included below. |
| 114 | inline void warning(const std::string& message) { // #nocov start |
| 115 | ::Rf_warning("%s", message.c_str()); |
| 116 | } // #nocov end |
| 117 | |
| 118 | inline void NORET stop(const std::string& message) { // #nocov start |
| 119 | throw Rcpp::exception(message.c_str()); |
no test coverage detected