Progression Handler: Progress Reported as an ANSI Background Color in the Terminal
(numeric) The adjustment of the progress update,
adjust = 0 positions the message to the very left, and
adjust = 1 positions the message to the very right.
(integer) Amount of padding on each side of the message, where padding is done by spaces.
(function) Functions that take "complete" and "incomplete" strings that comprise the progress bar as input and annotate them to reflect their two different parts. The default is to annotation them with two different background colors and the same foreground color using the cli package.
(numeric) A non-negative scalar on how intrusive (disruptive) the reporter to the user.
(character vector) Specifies where progression updates are rendered.
Additional arguments passed to
This progression handler requires the cli package.
Below are a few examples on how to use and customize this progress handler.
In all cases, we use
handlers(global = TRUE).