dieIfWindows: Throw an error if platform is windows

Description Usage Arguments Value

View source: R/windows.R

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


AnalysisPageServer documentation built on April 28, 2020, 6:32 p.m.