Learn R Programming

umx (version 4.0.0)

umx_check_OS: umx_check_OS

Description

Check what OS we are running on (current default is OS X). Returns a boolean. Optionally warn or die on failure of the test

Usage

umx_check_OS(
  target = c("OSX", "SunOS", "Linux", "Windows"),
  action = c("ignore", "warn", "die")
)

Arguments

target

Which OS(s) you wish to check for (default = "OSX")

action

What to do on failure of the test: nothing (default), warn or die

Value

  • TRUE if on the specified OS (else FALSE)

References

See Also

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()

Examples

Run this code
# NOT RUN {
umx_check_OS()
# }

Run the code above in your browser using DataLab