We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e426bdd commit 238b156Copy full SHA for 238b156
crates/ark/src/interface.rs
@@ -365,11 +365,16 @@ impl RMain {
365
let libraries = RLibraries::from_r_home_path(&r_home);
366
libraries.initialize_pre_setup_r();
367
368
+ if !harp::test::IS_TESTING {
369
+ panic!("not testing");
370
+ }
371
+
372
// In tests R may be run from various threads. This confuses R's stack
373
// overflow checks so we disable those. This should not make it in
374
// production builds as it causes stack overflows to crash R instead of
375
// throwing an R error.
376
if harp::test::IS_TESTING {
377
+ panic!("testing");
378
unsafe {
379
libr::set(libr::R_CStackLimit, usize::MAX);
380
}
0 commit comments