Skip to content

Commit 348b6de

Browse files
committed
Mention lobstr issue
1 parent 04e4c00 commit 348b6de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/ark/src/debug.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ pub extern "C" fn ark_print_rs(x: libr::SEXP) -> *const ffi::c_char {
5555
#[no_mangle]
5656
pub extern "C" fn ark_inspect_rs(x: libr::SEXP) -> *const ffi::c_char {
5757
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
5861
let out = RFunction::new("lobstr", "sxp").add(x).call().unwrap();
5962
unsafe { libr::Rf_PrintValue(out.sexp) };
6063
})

0 commit comments

Comments
 (0)