Loading...
Searching...
No Matches
Go to the documentation of this file.
20#ifndef Rcpp_macros_mask_h
21#define Rcpp_macros_mask_h
23#ifndef RCPP_NO_MASK_RF_ERROR
24#ifdef RCPP_MASK_RF_ERROR
25#define Rf_error(...) \
26 _Pragma("GCC warning \"Use of Rf_error() instead of Rcpp::stop(). Calls \
27to Rf_error() in C++ contexts are unsafe: consider using Rcpp::stop() instead, \
28or define RCPP_NO_MASK_RF_ERROR if this is a false positive. More info:\n\
29 - https://github.com/RcppCore/Rcpp/issues/1247\n\
30 - https://github.com/RcppCore/Rcpp/pull/1402\"") \