You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use cli hyperlinks to line numbers with .href
# With .Rprofile existing # link workscli::cli_bullets("{.file ~/.Rprofile}")
#> ~/.Rprofile # link works and takes me to line 4cli::cli_bullets("{.file ~/.Rprofile:4}")
#> .Rprofile:4# works and shows a link cli::cli_bullets("{.href [R profile](file://~/.Rprofile)}")
#> R profile# link does not workcli::cli_bullets("{.href [R profile line 1](file://~/.Rprofile:498)}")
#> R profile line 1
I get an error message that says No such file ~.Rprofile:498 does not exist. (in a prompt)
It may be out of scope, but from what I understand in the docs, it should be working.,
Running with RStudio 2023.03.0, Windows, and latest cli.
Hello,
I am trying to use cli hyperlinks to line numbers with .href
I get an error message that says No such file ~.Rprofile:498 does not exist. (in a prompt)
It may be out of scope, but from what I understand in the docs, it should be working.,
Running with RStudio 2023.03.0, Windows, and latest cli.
Edit: Ignore the other question ( I see that this is supported only outside RStudio https://cli.r-lib.org/reference/links.html#default-handler
Opening files outside RStudio within RStudio with cli hyperlink does not work.
Edit 2: Maybe a suggestion not to create a link (underline it ) to show that it won't open. for Excel file for example..
It seems that roxygen2 uses
Another workaround that keeps the blue for file hyperlink is
The text was updated successfully, but these errors were encountered: