show a warning message
| 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(); |
no test coverage detected