-
Notifications
You must be signed in to change notification settings - Fork 25
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
Warnings when spell-checking a package with Rd macros #42
Comments
This seems to arise in |
Could spelling use
Source https://www.rdocumentation.org/packages/tools/versions/3.6.1/topics/parse_Rd |
Does that fix it? Can you send a PR? |
I was just reading the spelling code, and can't find where spelling uses parse_Rd... closest I got was
tools::RdTextFilter() defaults to use macros = file.path(R.home("share"), "Rd", "macros", "system.Rd") - does lifecycle install its macros into those or does macros need to include lifecycle's macro install location? Whose responsibility is that, spelling or lifecycle? |
|
Can we just use this? tools::RdTextFilter(tools::parse_Rd(rdfile, permissive = TRUE)) |
You could, but then these macros will be treated as text, which might cause further problems. It is easier to just load the macros. |
What is the status of this issue because I am still receiving this error using the current version of spelling. |
Same here |
The
lifecycle
package does define the\lifecycle
macro, butspelling
warns that it is not defined.Created on 2019-08-16 by the reprex package (v0.3.0)
Session info
The text was updated successfully, but these errors were encountered: