-
Notifications
You must be signed in to change notification settings - Fork 76
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
for lifecycle::deprecate_warn
Is there a way to NOT encouraging users to report the issue here?
#451
Comments
#452 I think we need to address this before the typical "semester beginning" wave. |
I think one solution is to not use |
Oh wow that's aggressive to report an issue to a maintainer when they've deprecated a feature? I'm good with swapping this to warning but that's a bad upstream choice. |
That is indeed a bit aggressive. I second that a good old warning is enough. |
Maybe should give this suggestion by @olivroy a try: r-lib/lifecycle#187 |
But how deep in the |
I think I still vote for an ordinary |
@schochastics OK, I agree with you. And I close this once again. |
Agreed the warning seems fine. Here is my attempt at explaining wjakethompson/taylor#49 (comment) This guide can be helpful too. https://rlang.r-lib.org/reference/topic-error-call.html I made a few PRs to implement this in different packages. See lintr for example r-lib/lintr#2602 or gt rstudio/gt#1638 |
I am reopening this because of this issue #459 We need to stop emitting the issue reporting link. The last solution was not a real solution. |
.check_trust()
: Is there a way to NOT encouraging users to report the issue here?lifecycle::deprecate_warn
Is there a way to NOT encouraging users to report the issue here?
Well, in the case of #459. It is technically correct to report to The sooner |
An experiment with this Lines 77 to 82 in f1094bf
If I change it to .import.rio_psv <- function(file, sep = "|", which = 1, fread = lifecycle::deprecated(), dec = if (sep %in% c("|", "auto")) "." else ",", ...) {
if (lifecycle::is_present(fread)) {
lifecycle::deprecate_warn(when = "0.5.31", what = "import(fread)", details = "psv will always be read by `data.table:fread()`. The parameter `fread` will be dropped in v2.0.0.", user_env = rlang::caller_env(3))
}
import_delim(file = file, sep = if (sep == "|") "auto" else sep, dec = dec, ...)
} it doesn't emit the url. But it can't be tested with lifecycle::expect_deprecated() |
rio/R/utils.R
Lines 145 to 150 in 447ea1b
The text was updated successfully, but these errors were encountered: