Skip to contents

runs the test from the RcppProgressETA example package

Usage

test_eta_progress_bar(max = 100, nb = 1000, display_progress = TRUE)

Arguments

max

the number of loops/increments to execute

nb

a parameter controlling the number of computations executed in each loop, so the time complexity is quadratic in this parameter

display_progress

whether to display the progress bar

Value

the computed number, or -1 if the computation was aborted