This reporter looks at the recursive network of its dependencies on other packages. This allows a developer to understand how individual dependencies might lead to a much larger set of dependencies, potentially informing decisions on including or removing them.
Other Network Reporters:
FunctionReporter
,
InheritanceReporter
Other Package Reporters:
FunctionReporter
,
InheritanceReporter
,
SummaryReporter
pkgnet::AbstractPackageReporter
-> pkgnet::AbstractGraphReporter
-> DependencyReporter
report_markdown_path
(character string) path to R Markdown template for this reporter. Read-only.
new()
Initialize an instance of the reporter.
DependencyReporter$new(
dep_types = c("Imports", "Depends", "LinkingTo"),
installed = TRUE
)
## ------------------------------------------------
## Method `DependencyReporter$new`
## ------------------------------------------------
# \donttest{
# Instantiate an object
reporter <- DependencyReporter$new()
# Seed it with a package
reporter$set_package("ggplot2")
# }