check_genealogy_gen_num: Check the gen_num column in a genealogy

Description Usage Arguments Value

View source: R/genealogy.R

Description

Checks that gen_num is not missing, is a natural number and contains all numbers between zero and the max gen_num.

Usage

1
check_genealogy_gen_num(genealogy, result = list())

Arguments

genealogy

The genealogy to check.

result

The list to which the result will be added and from which previous result will be drawn to check the prerequisites.

Value

A list with TRUE or FALSE indicating whether the related check passed.


philliplab/yasss documentation built on Sept. 7, 2020, 3:28 p.m.