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

{.run ...} will not allow a custom function to be clickable if its name contains a . #705

Closed
DesiQuintans opened this issue Jul 23, 2024 · 1 comment

Comments

@DesiQuintans
Copy link

DesiQuintans commented Jul 23, 2024

I made a test package (https://github.com/DesiQuintans/testclirun) to illustrate the point, but this bug report is pretty simple.

My package has two functions: testclirun::testView() and testclirun::test.View(). They take no arguments and are the same object, one simply has a dot in the name (i.e. test.View <- testView).

Using the formatting {.run testclirun::testView()} produces a clickable link in RStudio.

Using the formatting {.run testclirun::test.View()} makes an unclickable link.

image

image

It is probably colliding with the use of . in the formatting tags, but the problem is not mentioned in https://cli.r-lib.org/reference/links.html.

@gaborcsardi
Copy link
Member

This works for me in a terminal, so it is probably a restriction in RStudio.

Screenshot 2024-07-31 at 9 15 59 AM

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

2 participants