DataFrame row count assertion
Passes if the DataFrame has exactly n rows.
df (DataFrame): The DataFrame to
check.
n (Int): Expected row
count.
Expect_pass when row count matches;
Expect_hold on NA; Expect_stop on errors or
mismatch.
assert(expect_nrow(to_dataframe([x: [1, 2, 3]]), 3))