R/dopb.R

Defines functions dopb

Documented in dopb

dopb <-
function()
{
    progress.bar <- getOption("pboptions")$type
    if (!is.null(progress.bar)) {
        progress.bar <- match.arg(progress.bar, pbtypes())
        if (progress.bar == "none")
            progress.bar <- NULL
        if (!is.null(getOption("knitr.in.progress")))
            progress.bar <- NULL
    }
    !is.null(progress.bar)
}

Try the pbapply package in your browser

Any scripts or data that you put into this service are public.

pbapply documentation built on July 9, 2023, 7:41 p.m.