-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Check: All .Rd files have \value tags #157
Comments
Re-opening to address this issue identified by @santikka ropensci/software-review#554 (comment) |
@mpadge A similar issue arises when defining a new method and its instances for different classes which share a return value, for example in dynamite there is new method |
That reduces positives down to only those objects actually defined as functions
Thanks again for your help @santikka. The previous approach directly parsed the roxygen2 blocks; the above commit replaces that with direct parsing of the The previous, roxygen2-based one gave this list from
The above commit reduces that to what i hope would reflect your expectations:
I've closed this again now, but please comment on whether you now judge the results to appropriately reflect the docs of |
@santikka I've updated the bot report for your submission to reduce listed funtions to the second, shorter version above. |
@mpadge Thanks! That list looks correct, because we hadn't documented the return value for almost any of the generic methods for |
This is now caught automatically on CRAN incoming checks, so would be useful to have here, via checks for roxygen2
@return
tags. That in turn would require installation of package, so affects #61The text was updated successfully, but these errors were encountered: