check_genealogy_parent_id: Check the parent_id column in a genealogy

Description Usage Arguments Value

View source: R/genealogy.R

Description

Checks that parent_id is not missing, is a valid integer and that it references a parent that exists.

Usage

1
check_genealogy_parent_id(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.