Skip to content

Refclass and R6 methods should generate aliases #1042

@dmurdoch

Description

@dmurdoch

I posted an issue for RSelenium, suggesting that ?findElement should open the ?remoteDriver web page. But really this is a roxygen2 suggestion: when it generates the big help page for the R6 class, it should add aliases for all the methods described in it (and maybe for the fields, too). This would address the problem raised in issue #1039 as well, because a standard Rd link could be used.

It might make sense to also add an alias that included the class name.

That is, in order to find the help for the findElement method, I could do either

?findElement

or

?"remoteDriver$findElement"

(or some other syntax for the last one).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions