Skip to content

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

Open

Description

@olivroy

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions