Enforce full-coverage feasibility for sparse MET allocation
Source:R/feasibility_helpers.R
dot-check_full_coverage_feasibility.RdInternal function called by allocate_sparse_met() to verify that the
supplied n_test_entries_per_environment provides enough sparse slots to
assign every non-common treatment at least once. Stops with an informative
error when the condition is not met.
Usage
.check_full_coverage_feasibility(
treatments,
environments,
n_test_entries_per_environment,
common_treatments = character(0)
)Details
Unlike warn_if_k_too_small(), this function stops rather than warns and is
not intended for direct use.