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

Function showWarning

src/attributes.cpp:3114–3117  ·  view source on GitHub ↗

show a warning message

Source from the content-addressed store, hash-verified

3112
3113 // show a warning message
3114 void showWarning(const std::string& msg) { // #nocov start
3115 Rcpp::Function warning = Rcpp::Environment::base_env()["warning"];
3116 warning(msg, Rcpp::Named("call.") = false);
3117 } // #nocov end
3118
3119 bool isRoxygenCpp(const std::string& str) {
3120 size_t len = str.length();

Callers 4

attributeWarningMethod · 0.85
writeEndMethod · 0.85
generateRArgListFunction · 0.85
compileAttributesFunction · 0.85

Calls 3

base_envFunction · 0.85
warningFunction · 0.85
NamedFunction · 0.85

Tested by

no test coverage detected