MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / warning

Function warning

inst/include/Rcpp/exceptions.h:114–116  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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());

Callers 5

set_type_after_pushMethod · 0.85
r_castFunction · 0.85
check_indexMethod · 0.85
check_indexMethod · 0.85
showWarningFunction · 0.85

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected