Some potentially large operations, such as imports and exports, report progress in the Crunch API. In an interactive R session, they print a text progress bar. This context, which wraps shiny::withProgress(), reports that Crunch API progress up to the Shiny web app.

withCrunchyProgress(expr, ...)

Arguments

expr

Code to evaluate

...

Additional arguments passed to shiny::withProgress()

Value

The result of expr

Examples

# NOT RUN {
withCrunchyProgress(
    ds <- newDataset(df),
    message = "Importing..."
)
# }