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
Most or all errors thrown in this package are made via rlang::abort(). We are transitioning to cli::cli_abort() to make use of the richer styling options for errors via cli (which calls rlang under the hood).
It is often sufficient to search for and replace the rlang version with the cli version together with adding a little bit of styling.
Most or all errors thrown in this package are made via
rlang::abort()
. We are transitioning tocli::cli_abort()
to make use of the richer styling options for errors via cli (which calls rlang under the hood).It is often sufficient to search for and replace the rlang version with the cli version together with adding a little bit of styling.
Some examples of the styling possibilities are in the general introduction under the section of Inline text formatting. More details on inline formatting and pluralization.
One aspect to watch out for when transitioning from
rlang::abort()
tocli::cli_abort()
are messages pre-assembled from user input as described here.#499 can serve as an example.
We are splitting this up into several batches:
R/bootci.R
#504R/caret.R
#505R/initial_validation_split.R
#506R/labels.R
#507R/make_groups.R
,R/mc.R
,R/nest.R
#508R/misc.R
#509R/permutations.R
,R/reg_intervals.R
#510R/rset.R
#511R/rsplit.R
#512R/slide.R
#513R/tidy.R
,R/validation_set.R
,R/vfold.R
#514The text was updated successfully, but these errors were encountered: