progress_lapply: lappy with progress bars
Description
Immitates lapply with optional progress bars
Usage
progress_lapply(X, FUN, progress = interactive(), ...)
Arguments
X
The thing to iterate over
FUN
The function to apply to each element
progress
(logical of length 1) Whether or not to print a progress bar. Default is to only print a progress bar during interactive use.