# Set the default package options.
set_default_options()
# Get the progress bar type from options.
get_option("progress_bar_type")
# Get the progress bar configuration from options.
get_option("progress_bar_config")
# Adjust the format of the `modern` progress bar.
configure_bar(type = "modern", format = "[:bar] :percent")
# Check that the configuration has been updated in the options.
get_option("progress_bar_config")
# Change to and adjust the style of the `basic` progress bar.
configure_bar(type = "basic", style = 3)
# Check that the configuration has been updated in the options.
get_option("progress_bar_type")
get_option("progress_bar_config")
Run the code above in your browser using DataLab