-
Notifications
You must be signed in to change notification settings - Fork 50
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
Supply macro definitions in print.dev_help #120
Comments
This has come up in this discussion: https://stat.ethz.ch/pipermail/r-package-devel/2020q2/005420.html. The |
ok I think I understand now, we already have support for foreign and local RdMacros outside RStudio that Gabor implemented in #116. I have added unit tests in #205 (see also e3c282a which fixes a bug in RStudio introduced in this PR). What was missing is support inside RStudio because we call into the IDE API in that case. @dmurdoch opened an issue about foreign macros in rstudio/rstudio#6871 which has been fixed by Kevin since. However, it seems that local macros are still not loaded. I have opened rstudio/rstudio#11336 to get this fixed. I think we can now close this but please let me know if I'm still missing something. |
Kevin found a way for us to display our own generated html files in the help pane of RStudio. |
print.dev_topic()
— the documentation suggests that...
inRd2txt()
andRd2html()
is passed on toparse_Rd()
. I don't remember exactly what you need to supply in themacros
argument, but I'm pretty sure I got it working in pkgdown.Would also need to work with the IDE team to get the necessary information passed along to the
previewRd()
API call.The text was updated successfully, but these errors were encountered: