pkgnet defines several package reporter R6 classes that analyze
some particular aspect of a package. These reporters share common
functionality and interfaces defined by a base reporter class
AbstractPackageReporter
.
pkg_name
(character string) name of set package. Read-only.
report_markdown_path
(character string) path to R Markdown template for this reporter. Read-only.
set_package()
Set the package that the reporter will analyze. This can only be done once for a given instance of a reporter. Instantiate a new copy of the reporter if you need to analyze a different package.
get_summary_view()
Returns an htmlwidget object that summarizes the analysis of the reporter. Used when creating a package report.