purrr
purrr copied to clipboard
Format of printing in rate retry
https://github.com/tidyverse/purrr/blob/6ead03537e9c4395b55721421f87e41a3a5ec76b/R/rate.R#L317
I am using rate backoff for query retry logic and frequently get log messages like:
Retrying in 6e+01 seconds.
My coworkers would like to see something like:
Retrying in 60 seconds.
Is there a reason that I haven't thought of that using sprintf
along with %i
would not be preferred to the current implementation when values are coerced to integer?