This function enables or disables the internal input validation checks (assertions)
for the rest of the R session. It does not modify options(); setting
options(edi.run_asserts = FALSE) yourself also disables them.
Disabling assertions can provide a significant performance boost in heavy
simulations (often 10x-20x speedup), but it removes the safety rails that
prevent invalid data from reaching the internal algorithms.
Warning: If assertions are disabled, passing malformed or invalid data to package functions may result in cryptic R errors, incorrect statistical results, or even hard system crashes (SEGFAULTs) at the C++ layer. Only disable assertions if you are certain your data is pre-validated and follows the package requirements exactly.
