pub unsafe fn s4_class_name(obj: SEXP) -> Option<String>Expand description
Extract the S4 class name from an object.
Reads the class attribute and returns the first element as a String.
Returns None if the object has no class attribute or the attribute is empty.
ยงSafety
objmust be a valid SEXP.- Must be called from the R main thread.