You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The abort message here does not declense "do" according to the the quantity of offenders, so i prepared a fix here that i'll be glad to PR. Below is an inline demo.
abort_offenders<-function() cli::cli_abort(
"The following argument{?s} {?was/were} specified but do{?es/} not exist: \\ {.arg {offenders}}."
)
offenders<- c("one")
abort_offenders()
#> Error in `abort_offenders()`:#> ! The following argument was specified but does not exist: `one`.offenders<- c(offenders, "two")
abort_offenders()
#> Error in `abort_offenders()`:#> ! The following arguments were specified but do not exist: `one` and#> `two`.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex https://reprex.tidyverse.org) and link to this issue.
The abort message here does not declense "do" according to the the quantity of
offenders
, so i prepared a fix here that i'll be glad to PR. Below is an inline demo.Created on 2024-11-25 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: