do_resampling: Temporarily suppress new stats generation during resampling

View source: R/core_stats.R

do_resamplingR Documentation

Temporarily suppress new stats generation during resampling

Description

Internal helper that sets the skip_new_stats_dm and skip_validate_stats_dm options to TRUE before evaluating an expression, and resets them to NULL afterward (see also stats.options()). Intended to prevent the (unncessary) creation/checking of stats_dm objects during resampling.

Usage

do_resampling(x)

Arguments

x

An expression to evaluate.

Value

The result of evaluated x.


dRiftDM documentation built on Dec. 1, 2025, 5:08 p.m.