rlang icon indicating copy to clipboard operation
rlang copied to clipboard

FR: Add link to help when getting an error

Open olivroy opened this issue 1 year ago • 0 comments

library(dplyr)
mtcars %>% mutate(x)
#> Error in `mutate()`:
#> ℹ In argument: `x`.
#> Caused by error:
#> ! objet 'x' introuvable

Would it be possible that when hovering on Error in mutate() that the help hyperlink would show up like so in interactive sessions in RStudio?

cli::cli_text("{.help [{.fun mutate}](dplyr::mutate)}")

olivroy avatar May 02 '23 13:05 olivroy