Creates a progress reporting function for use in loops or apply-style operations. Returns a no-op function if progressr is not available or disabled.
Value
A function that signals progress when called. If progressr is not available
or enable = FALSE, returns a no-op function.
Details
This function wraps progressr::progressor() with a fallback for when progressr
is not available.