Skip to content

FR: Clickable links in CLI output #1116

@olivroy

Description

@olivroy

I was wondering if it would be possible to have a clickable link to a styler error, using cli.

cli::cli_text("{.file file.R:2}")

Creates a link to file.R at line 2.
https://cli.r-lib.org/reference/links.html?q=file%20lin#line-and-column-numbers

It could be quite handy for a large file

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions