Learn R Programming

AnalysisPageServer (version 1.6.2)

dieIfWindows: Throw an error if platform is windows

Description

Throw an error if platform is windows

Usage

dieIfWindows(caller = as.character(sys.call(-1))[1], errMesg = paste0(caller, "() does not run under windows"), isWindows = platformIsWindows())

Arguments

caller
Name of calling function. Default: as.character(sys.call(-1))[1]
errMesg
Error message to throw under windows. Default: paste0(caller, "() does not run under windows").
isWindows
Boolean, indicating if current platform is windows. Default: platformIsWindows().

Value

Nothing