Check what OS we are running on (current default is OS X). Returns a boolean. Optionally warn or die on failure of the test
umx_check_OS(target = c("OSX", "SunOS", "Linux", "Windows"),
action = c("ignore", "warn", "die"))
Which OS(s) you wish to check for (default = "OSX")
What to do on failure of the test: nothing (default), warn or die
- TRUE if on the specified OS (else FALSE)
Other Test: umx_check_model
,
umx_check_names
,
umx_check_parallel
,
umx_check
, umx_has_CIs
,
umx_has_been_run
,
umx_has_means
,
umx_has_square_brackets
,
umx_is_MxData
,
umx_is_MxMatrix
,
umx_is_MxModel
, umx_is_RAM
,
umx_is_cov
,
umx_is_endogenous
,
umx_is_exogenous
,
umx_is_ordered
# NOT RUN {
umx_check_OS()
# }
Run the code above in your browser using DataLab