NEWS.md
do.call
with the function argument as string will now properly appear on the function reporter. Previously, this would show as a do.call
node with a circular reference. (#302)LinkingTo:
package dependencies are now included in the DependencyReporter
and subsequent HTML report and objects. (#319 Thanks @petergodbert !)pkgnet-intro
vignette to include information on the Class Inheritance Reporter and other minor edits..parse_function
and .parse_R6_expression
made tolerant to control statemets like break
or next
that would break the recursion. (#322)vignette_path
param in CreatePackageVignette()
(#322)roxygen2
standards.CreatePackageReporter()
failing on Windows to build package coverage when report_path
specified. (#322)DependencyReporter
(#243)CreatePackageReport()
now outputs an object of new class PackageReport
(instead of a list of reporters). This object will let you interactively manipulate the included reporter objects to customize the report, and regenerate the report on demand. You can also instantiate and interact with a PackageReport
object directly without CreatePackageReport()
../man/figures
.AbstractGraphReporter$set_plot_node_color_scheme()
. (#262
DirectedGraph
class now slot into the pkg_graph
field of network reporters. These objects encapsulate the graph modeling of networks and have a more expressive set of methods for analysis. Check out the full documentation with ?DirectedGraph
. (#181)
pkg_graph$node_measures
and pkg_graph$graph_measures
to respectively calculate node-level and graph-level measures.pkg_graph$default_node_measures
and pkg_graph$default_graph_measures
to see the measures calculated by default.pkg_graph$available_node_measures
and pkg_graph$available_graph_measures
to see the all supported measures.pkg_graph$igraph
.CreatePackageVignette
that creates an Rmarkdown HTML vignette version of a pkgnet report. This vignette can be built using knitr and distributed with a package, like any other vignette. Check out our example on the pkgnet gallery. (#200)
CreatePackageVignette
and the new gallery.?pkgnet
. (#192, #193, #198)outSubgraphSize
and inSubgraphSize
have been replaced with numRecursiveDeps
and numRecursiveRevDeps
, which are the former minus one (by not counting the node itself). (#191, #181)DirectedGraph
feature, reporters’ pkg_graph
field now contain an object of new DirectedGraph
class. Previously it held an igraph object. This igraph object is now instead available at pkg_graph$igraph
. See NEW FEATURES section for other details about the new pkg_graph
object. (#181)calculate_default_measures
on reporters. (#181)
CreatePackageReport
will now only show default measures.CreatePackageReport
now prints the version of pkgnet used at the bottom. (#181)AbstractPackageReporter
and AbstractGraphReporter
are no longer exported. These are base classes that are not meant to be used directly. (#190, #198)grep("^layout_\\S", getNamespaceExports("igraph"), value = TRUE)
to see valid options. (#143)FunctionReporter
now utilizes graphopt layout by default. (#143)FunctionReporter
now supports non-exported functions and R6 class methods. (#123, #128)milne
created for unit testing of InheritanceReporter
and R6 method support in FunctionReporter
. (#128, #129)