We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04e4c00 commit 348b6deCopy full SHA for 348b6de
crates/ark/src/debug.rs
@@ -55,6 +55,9 @@ pub extern "C" fn ark_print_rs(x: libr::SEXP) -> *const ffi::c_char {
55
#[no_mangle]
56
pub extern "C" fn ark_inspect_rs(x: libr::SEXP) -> *const ffi::c_char {
57
capture_console_output(|| {
58
+ // TODO: Should use C callable when implemented as that would avoid
59
+ // messing with namedness and refcounts:
60
+ // https://github.com/r-lib/lobstr/issues/77
61
let out = RFunction::new("lobstr", "sxp").add(x).call().unwrap();
62
unsafe { libr::Rf_PrintValue(out.sexp) };
63
})
0 commit comments