handler_brrr: Progression Handler: Progress Reported as 'BRRR' Sounds...

View source: R/handler_brrr.R

handler_brrrR Documentation

Progression Handler: Progress Reported as 'BRRR' Sounds (Audio)

Description

A progression handler for skrrrahh() of the BRRR package.

Usage

handler_brrr(
  initiate = "takeoff",
  update = "bigsean4",
  finish = "khaled3",
  interrupt = "busta",
  intrusiveness = getOption("progressr.intrusiveness.audio", 5),
  target = "audio",
  ...
)

Arguments

initiate, update, finish, interrupt

(integer or character) Indices or names of skrrrahh() sounds to play when progress starts, is updated, completes, or is interrupted. For silence, use NA_integer_.

intrusiveness

(numeric) A non-negative scalar on how intrusive (disruptive) the reporter to the user.

target

(character vector) Specifies where progression updates are rendered.

...

Additional arguments passed to make_progression_handler().

Requirements

This progression handler requires the BRRR package, which is only available from https://github.com/brooke-watson/BRRR. This can be installed as remotes::install_github("brooke-watson/BRRR").

Examples

pkg <- "BRRR"
if (requireNamespace(pkg, quietly = TRUE)) {

  handlers("brrr")
  with_progress({ y <- slow_sum(1:10) })
  print(y)
  
}

progressr documentation built on March 31, 2026, 9:07 a.m.