Description Usage Arguments Value
Throw an error if platform is windows
1 2 3 | dieIfWindows(caller = as.character(sys.call(-1))[1],
errMesg = paste0(caller, "() does not run under windows"),
isWindows = platformIsWindows())
|
caller |
Name of calling function. Default: |
errMesg |
Error message to throw under windows. Default:
|
isWindows |
Boolean, indicating if current platform is windows.
Default: |
Nothing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.