Skip to main content

Rf_warning

Function Rf_warning 

Source
pub unsafe fn Rf_warning(fmt: *const c_char, arg1: *const c_char)
Expand description

Checked wrapper for Rf_warning - panics if called from non-main thread.

ยงSafety

  • Must be called from the R main thread
  • fmt and arg1 must be valid null-terminated C strings