Skip to content
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

include macros location when using Rdpack #196

Closed
LiNk-NY opened this issue Jul 5, 2023 · 1 comment
Closed

include macros location when using Rdpack #196

LiNk-NY opened this issue Jul 5, 2023 · 1 comment
Assignees

Comments

@LiNk-NY
Copy link
Contributor

LiNk-NY commented Jul 5, 2023

If the package has an Rdpack dependency, the call to tools::parse_Rd should include the Rdpack macros location.
For example, the macros argument should be:

tools::parse_Rd("man/run_mash.Rd", macros= file.path(system.file(package = "Rdpack"), "help", "macros", "refmacros.Rd"))
@LiNk-NY LiNk-NY self-assigned this Jul 5, 2023
@LiNk-NY
Copy link
Contributor Author

LiNk-NY commented Aug 16, 2023

See example at Bioconductor/Contributions#2955

Warning in tools::parse_Rd(manpage) :
  /Users/user/bioc/package/man/run_mash.Rd:21: unknown macro '\insertCite'

LiNk-NY added a commit that referenced this issue Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant