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

Function testUnwindProtect

inst/tinytest/cpp/stack.cpp:65–70  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

63
64// [[Rcpp::export]]
65SEXP testUnwindProtect(Environment indicator, bool fail) {
66 unwindIndicator my_data(indicator);
67 SEXP out = R_NilValue;
68 out = Rcpp::unwindProtect(&maybeThrow, &fail);
69 return out;
70}
71
72
73// [[Rcpp::export]]

Callers

nothing calls this directly

Calls 1

unwindProtectFunction · 0.85

Tested by

no test coverage detected