Closed detule closed 3 months ago
Hi Team:
Just following up on a discussion where @hadley pointed out we should avoid Rcpp::warning in the destructor path as an error there, as a result of options(warn>2), and the subsequent longjmp, could lead to incorrect resource unwind.
Rcpp::warning
options(warn>2)
longjmp
Moving the warning up to the [R] frame.
Hi Team:
Just following up on a discussion where @hadley pointed out we should avoid
Rcpp::warning
in the destructor path as an error there, as a result ofoptions(warn>2)
, and the subsequentlongjmp
, could lead to incorrect resource unwind.Moving the warning up to the [R] frame.