FunctionReporter {pkgnet}R Documentation

Function Interdependency Reporter

Description

This reporter looks at the network of interdependencies of its defined functions. Measures of centrality from graph theory can indicate which function is most important to a package. Combined with unit test coverage information—also provided by this reporter— it can be used as a powerful tool to prioritize test writing.

Details

R6 Method Support:

R6 classes are supported, with their methods treated as functions by the reporter.

Known Limitations:

Super classes

pkgnet::AbstractPackageReporter -> pkgnet::AbstractGraphReporter -> FunctionReporter

Active bindings

report_markdown_path

(character string) path to R Markdown template for this reporter. Read-only.

Methods

Public methods

Inherited methods

Method calculate_default_measures()

Calculates the default node and network measures for this reporter.

Usage
FunctionReporter$calculate_default_measures()
Returns

Self, invisibly.


Method clone()

The objects of this class are cloneable with this method.

Usage
FunctionReporter$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other Network Reporters: DependencyReporter, InheritanceReporter

Other Package Reporters: DependencyReporter, InheritanceReporter, SummaryReporter


[Package pkgnet version 0.5.0 Index]