Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DanChaltiel opened this issue Nov 10, 2024 · 0 comments
Open

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

DanChaltiel opened this issue Nov 10, 2024 · 0 comments

Comments

@DanChaltiel
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant