R/checkOS.R

Defines functions .goodOS

## we are having issues on solaris and with old windows releases
## the supportedPlatform() check covers Solaris, but we need to explicitly check for old R

.goodOS <- function() {
    rversion <- paste(R.Version()$major, R.Version()$minor, sep = ".")
    isoldrel <- .Platform$OS.type == "windows" && (compareVersion(rversion, "3.1.3") < 1)
    x13binary::supportedPlatform() && !isoldrel
}

Try the gunsales package in your browser

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

gunsales documentation built on May 2, 2019, 7:55 a.m.