Learn R Programming

PortfolioTesteR (version 0.1.4)

validate_no_leakage: Quick leakage guard: date alignment & NA expectations

Description

Quick leakage guard: date alignment & NA expectations

Usage

validate_no_leakage(features, labels, verbose = TRUE)

Value

TRUE/FALSE (invisible), with messages if verbose = TRUE.

Arguments

features

Wide feature panel with a Date column.

labels

Wide label panel (same Date index / symbols as features).

verbose

If TRUE, prints diagnostic messages.