[[Rcpp::internal]]
| 228 | |
| 229 | // [[Rcpp::internal]] |
| 230 | SEXP rcpp_error_recorder(SEXP e) { |
| 231 | SEXP cache = get_rcpp_cache(); |
| 232 | |
| 233 | // error occured |
| 234 | set_error_occured(cache, Rf_ScalarLogical(TRUE)); |
| 235 | |
| 236 | // current error |
| 237 | set_current_error(cache, e); |
| 238 | |
| 239 | return R_NilValue; |
| 240 | } |
| 241 | |
| 242 | // [[Rcpp::register]] |
| 243 | SEXP rcpp_get_current_error() { |
nothing calls this directly
no test coverage detected