Shared helper used by both print.dataset_comparison and
print.cdisc_comparison. Prints a summary line, a per-variable
table, and up to n rows of the top variable's differing observations.
.print_observation_diffs(obs, n = 30, id_details = NULL, n_total_obs = NULL)Called for side effects (prints to console). Returns NULL invisibly.
Observation comparison list (with discrepancies,
details, and optionally id_details and message).
Maximum number of differing rows to display (default 30).
Optional named list of ID detail data frames (from key-based comparison).
Total number of observations (for percentage calculation).