pub unsafe fn Rf_error(fmt: *const c_char, arg1: *const c_char) -> !Expand description
Checked wrapper for Rf_error - panics if called from non-main thread.
Common usage: Rf_error(c"%s".as_ptr(), message.as_ptr())
ยงSafety
- Must be called from the R main thread
fmtandarg1must be valid null-terminated C strings