get_platform_value {scriptexec} | R Documentation |
Returns the value based on the current platform.
Description
Returns the value based on the current platform.
Usage
get_platform_value(unix_value = c(), windows_value = c(),
force_windows = FALSE)
Arguments
unix_value |
The unix platform value |
windows_value |
The windows platform value |
force_windows |
True to force windows (defaulted to OS validation) |
Value
unix_value in case of unix system, else the windows_value
Examples
platform_value <- get_platform_value('.sh', '.bat')
[Package scriptexec version 0.3.1 Index]