
Measure the counts that graph_invariants declares
Source: R/graph-invariants.R
graph_invariant_counts.RdComputes, from an assembled graph, every quantity the graph_invariants
block of docs/framework-invariants.yml declares a band for: the combined
totals, and the per-framework element split into parents, sub-points and
examples. The strict-inflation ratio is derived here rather than declared,
so the file and the graph cannot disagree about how it is computed.
See also
Other Graph invariants:
assert_graph_identity(),
assert_graph_invariants(),
graph_identity_violations()
Examples
if (FALSE) { # \dontrun{
graph_invariant_counts(load_combined_ntriples_graph())
} # }