check_yamls_consistent.RdChecks that the staged dependency yamls are consistent with the dependencies listed in the DESCRIPTION files
check_yamls_consistent(dep_structure, skip_if_missing_yaml = FALSE)dependency_structure object
logical should checks be skipped on packages
without yaml files. Default FALSE
NULL if successful. An error is thrown if inconsistencies found
This function explicitly checks that for all packages in the
dependency_structure object: all upstream and downstream packages specified
in each yaml file are found in the appropriate package DESCRIPTION file
if (FALSE) {
x <- dependency_table(project = ".")
check_yamls_consistent(x)
}