Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upClass Inheritance Reporter #129
Conversation
…nto feature/r6-methods
…ass generator functions
3286e59
to
3842a55
|
@jayqi , I am excited to see results from these two tests:
However, I cannot reference this as a reporter through our high level function
In both cases, I get the error "At least one of the reporters in the pkg_reporters parameter is not a PackageReporter. See ?AbstractPackageReporter for details." stemming from this test: https://github.com/UptakeOpenSource/pkgnet/blob/master/R/CreatePackageReport.R#L37 Can we enable this reporter to be used in this fashion (a specific call out in |
|
@bburns632 Ironically, you are getting the errors because you are using both The following works for me:
The key two things are:
cc: @jameslamb |
|
Looks great, Jay! I added some suggestions for changed. Overall I agreed with the approach and the core of the implementation. My recommendations are mostly about hardening it a bit to avoid subtle errors or pedantic stuff like whitespace. |
ef234a1
to
4b43991
4b43991
to
7cad3bf
|
@jameslamb I think I have resolved all of your comments. |
|
LGTM |
|
Yes, the irony is delicious here. Clearly, this is not an issue with this reporter, but a UX issue to bring up later regarding using speciality or custom reporters (now that we have a new one!). All changes look good to me. |

Closes #14
Summary:
InheritanceReporterthat extracts the inheritance network for S4, Reference, and R6 classes within a given package.FunctionReporterto explicitly exclude generator functions for Reference classes for now.I'm not sure the best way to represent object construction in FunctionReporter yet.
palleteto correct spellingpalette.Viz for

pkgnet:Viz for

milne