powered by
Returns the value based on the current platform.
get_platform_value(unix_value = c(), windows_value = c(), force_windows = FALSE)
The unix platform value
The windows platform value
True to force windows (defaulted to OS validation)
unix_value in case of unix system, else the windows_value
# NOT RUN { platform_value <- get_platform_value('.sh', '.bat') # }
Run the code above in your browser using DataLab