File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -261,13 +261,15 @@ pgrs <- function(resp) {
261
261
}
262
262
263
263
if (! isTRUE(the $ str_prgs $ pb == the $ str_prgs $ f )) {
264
+ # format outside glue statement to get rid of NOTE in R CMD check
265
+ total_pretty <- prettyunits :: pretty_bytes(str_prgs $ total )
264
266
cli :: cli_progress_bar(
265
267
name = the $ str_prgs $ f ,
266
268
type = " download" ,
267
269
format = paste0(
268
270
" {cli::pb_spin} downloading {str_prgs$f} " ,
269
- " ({str_prgs$done_pct} of {prettyunits::pretty_bytes(str_prgs$total )}) " ,
270
- " at {prettyunits::pretty_bytes(str_prgs$speed) }/s"
271
+ " ({str_prgs$done_pct} of {total_pretty )}) " ,
272
+ " at {prettyunits::pretty_bytes(str_prgs$speed}/s"
271
273
),
272
274
format_done = paste0(
273
275
" {cli::col_green(cli::symbol$tick)} downloaded {str_prgs$f}"
You can’t perform that action at this time.
0 commit comments