Repository navigation
Fix open issues: @exportS3Method, @examplesIf, comma @param, per-page examples check, markdown warning - #44
Merged
Merged
Conversation
- #37: bare @exportS3Method registers the method; pkg::generic keeps its prefix for delayed registration - #39: support @examplesIf, rendered as roxygen2 does - #40: comma-separated @PARAM names count for each formal - #41: missing-examples check runs per Rd page - #42: warn about markdown that ships verbatim in the Rd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #37, fixes #39, fixes #40, fixes #41, fixes #42.
Changes
@exportS3Methodregisters the method. Generic and class come from the object name, a known or package-defined generic first (as.data.frame.foo). A name with no dot warns.@exportS3Method pkg::genericwritesS3method(pkg::generic,class), unquoted, in the one- and two-argument forms. It used to drop or quote the prefix.@examplesIf condis supported, rendered as roxygen2 renders it. Several example tags on one block all reach the page in order.@param a,bcounts for each formal in the undocumented-parameter check, and sorts at its earliest formal in\arguments.check_cran()warns about backticked terms and[fn()]links that ship verbatim, once per file. Silence it withoptions(tinyrox.markdown_check = FALSE). tinyrox's own roxygen comments are converted to\code{}.fyi.mdis removed; the format is retired.Verification
R CMD check --as-cran --no-manualis clean. The PDF manual was not built.