knitr
knitr copied to clipboard
Feature request: Use hyperlinks when quitting (errors in qmd / Rmd)
Hi, I was wondering if there could be some hyperlinks like the cli styled hyperlinks when there are errors knitting
Example Quitting from lines 492-501 (file.Rmd/qmd) Error: ....
Would it be possible to make 492 clickable in the Background Jobs tab? That way, it would only require one click to go to the location of the error.
This is definitely something we plan to have a look into following the new support in the IDE for this.
Yes, we'll add support for that. Thanks for the suggestion!
Follow recommandations at https://cli.r-lib.org/reference/links.html#files
Possibly URL have been deactivated when inside R Markdown context (https://github.com/r-lib/cli/issues/581) so maybe it won't work of we need to find a way to reactivate it. Need to try cc @hadley
I think this probably needs to start with the IDE team, because IIRC, clickable urls don't work in the render pane.