
Assert that a strategy has the expected signature
Source:R/missing-scores-internal.R
assert_strategy.RdInternal helper used by filter_scores() and
impute_missing_scores() to check that a user-supplied
strategy function has at least the required named formals.
This catches common mistakes early (e.g. forgetting the
compare argument) without constraining the strategy
author to a specific internal type.