dieIfWindows: Throw an error if platform is windows

Description Usage Arguments Value

Description

Throw an error if platform is windows

Usage

1
2
3
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


apomatix/AnalysisPageServer documentation built on May 26, 2019, 11:36 a.m.