
Check whether already-split .from/.to/.weight_by columns form a valid crossmap (internal)
Source: R/validate_as_xmap.R
check_valid_xmap_df.RdThe single source of truth for the three link-validity conditions,
shared by validate_as_xmap.data.frame() and xmap_tbl()'s construction
gate, so the two don't independently re-implement (and risk drifting on)
the same checks.
Arguments
- tbl_x
A tibble/data frame with
.from,.to,.weight_bycolumns (each may themselves be single-column data frames, asxmap_tblstores them).- tol
Deliberately has no default here, unlike the exported entry points that call this – forces every caller to explicitly forward its own user-facing
tolrather than one silently drifting to an unexposed internal default if a future edit forgets to pass it through.