unregister Rcpp_eval and register rcpp_get_current_error, reset_current_error and error_occured