-
Notifications
You must be signed in to change notification settings - Fork 235
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
Parsing for % characters #879
Comments
I'm not sure if we'll be able to catch this one easily, but maybe we can check for an unescaped |
The check is done in |
The check shouldn't be on whether or not it's an multiline block, but whether or not the output is going to generate Rd. And Maybe it's just better to automatically escape |
Providing detailed message when you upgrade Fixes #879
Be nice now if the inverse of this comment was true: "Can roxygen include a warning when the resulting .Rd file is mis-formatted as a result of escaped |
Ugggh; this change to escape Any chance that this could be revisited so that |
@gavinsimpson update "we're" to "were not(?)" |
Unfortunately, I don't think changing the policy will help; it'll just add more confusion. Having to escape |
Can roxygen include a warning when the resulting .Rd file is mis-formatted as a result of un-escaped
%
characters? (which end up as comments in the .Rd format)This sometimes produces a warning for mismatched quotes or braces (e.g. #530, #742, #786), but this doesn't always seem to be caught until R CMD CHECK.
reprex below:
Created on 2019-07-18 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: