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

FR: Suppress or make some buttons work in dev_help #281

Open
olivroy opened this issue May 14, 2024 · 0 comments
Open

FR: Suppress or make some buttons work in dev_help #281

olivroy opened this issue May 14, 2024 · 0 comments

Comments

@olivroy
Copy link
Contributor

olivroy commented May 14, 2024

In dev help, in recent versions of R, there are two buttons that are created and useful.

  1. Run examples

Starting in R 4.2, there is a Run examples button in regular help files. I don't really know how the dev help is constructed, but would there be a way for the Run examples button to be tweaked to call dev example in the help pane? pkgload::dev_example()

I know that under the Run examples base R function, there is some knitr code.

Currently, we get /Example/{topic} not found

  1. Index

URL '/help/library/package/help/00Index.html' not found

But pkgload provides dev_topic_index(), could the dev help be tweaked, so that the function would be called?
image

Otherwise, would it be possible to suppress these buttons from dev help to avoid non-working things?

Also not sure if this is a pkgload or RStudio feature request (or a bit of both)

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