crunchy (version 0.3.3)

withCrunchyProgress: Display progress from Crunch API processes

Description

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.

Usage

withCrunchyProgress(expr, ...)

Arguments

expr

Code to evaluate

...

Additional arguments passed to shiny::withProgress()

Value

The result of expr

Examples

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

Run the code above in your browser using DataCamp Workspace