Slowly Calculate Sum of Elements

slow_sum(
x,
delay = getOption("progressr.demo.delay", 1),
stdout = FALSE,
message = TRUE
)

## Arguments

x Numeric vector to sum Delay in seconds after each addition. If TRUE, then a text is outputted to the standard output per element. If TRUE, then a message is outputted per element.

## Value

The sum of all elements in x.