Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Examples

umx_check_OS()

umx

Structural Equation Modeling and Twin Modeling in R

v4.10.10
GPL-3
Authors
Timothy C. Bates [aut, cre] (<https://orcid.org/0000-0002-1153-9007>), Gillespie Nathan [wit], Michael Zakharin [wit], Brenton Wiernik [ctb], Joshua N. Pritikin [ctb], Michael C. Neale [ctb], Hermine Maes [ctb]
Initial release
2021-11-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.