R/Check_This.R

if (FALSE) {
    (function() {
        odir <- getwd()
        on.exit(setwd(odir))
        setwd("~")
        pkg <- "polynomial"
        command <- sprintf("Rcmd build %s", pkg)
        cat(normalizePath(getwd()), ">", command, "\n\n", sep = "")
        system(command)
        command <- sprintf("Rcmd check --as-cran --no-multiarch %s_%s.tar.gz",
            pkg, utils::packageVersion(pkg))
        cat(normalizePath(getwd()), ">", command, "\n\n", sep = "")
        system(command)
    })()
}

Try the polynomial package in your browser

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

polynomial documentation built on Feb. 22, 2021, 5:08 p.m.