R/vmsg.R

Defines functions vmsg

vmsg <- function(...) {
    verbose <- getOption("QDNAseq::verbose", TRUE)
    if (is.na(verbose)) {
        args <- list(...)
        appendLF <- TRUE
        if ("appendLF" %in% names(args)) {
            appendLF <- args[["appendLF"]]
            args[["appendLF"]] <- NULL
        }
        cat(unlist(args), sep="")
        if (appendLF)
            cat("\n")
    } else if (verbose) {
        message(...)
    }
}

# EOF

Try the QDNAseq package in your browser

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

QDNAseq documentation built on Nov. 8, 2020, 6:57 p.m.