Defines the Abstract Class for all PackageReporters defined in pkgnet. The class is not meant to be instantiated, but inherited from and its methods overloaded such that each Metric implements certain functionality.

AbstractPackageReporter

Format

An object of class R6ClassGenerator of length 24.

Public Methods

set_package(pkg_name, pkg_path = NULL)

  • Set the package that all operations in the object are done for.

  • Args:

    • pkg_name: A string with the name of the package you are analyzing.

    • pkg_path: Optional directory path to source code of the package. It is used for calculating test coverage. It can be an absolute or relative path.

get_summary_view()

  • Returns a particular reporters summary report on the package for use in a high level view

See also

Other AbstractReporters: AbstractGraphReporter