Skip to content

FR: add bug report URL to abort("error", .internal=TRUE)Β #2024

@DanChaltiel

Description

@DanChaltiel

Hi,

I don't know if there is a technical limitation to retrieving the DESCRIPTION file at runtime, but if BugReports is described, wouldn't it be nice to add the URL to the error message?
In my field, many R users can be a bit oblivious to bug reporting, and I'm sure this would help them.

For instance:

rlang::abort("error", .internal=TRUE)
#> Error:
#> ! error
#> β„Ή This is an internal error, please report it to the package authors: https://github.com/DanChaltiel/autoimport/issues

Created on 2024-11-10 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions