os {roperators}R Documentation

Operating system checks

Description

Determine the current operating system as well as provide flags to indicate whether the operating system is a Mac/Windows/Linux.

Usage

get_os()

get_R_version()

get_R_version_age(units = c("years", "months", "weeks", "days"), rounding = 2)

get_latest_CRAN_version()

get_system_python()

is.os_mac()

is.os_win()

is.os_lnx()

is.os_unx()

is.os_x64()

is.os_arm()

is.R_x64()

is.R_revo()

is.RStudio()

is.http_available()

Arguments

units

character - how do you want to display the age? e.g. years or months?

rounding

integer - how many decimal points do you want to see. e.g. 0.25 years

Author(s)

Ben Wiseman, benjamin.wiseman@kornferry.com

Steven Nydick, steven.nydick@kornferry.com

Examples

# determine operating system
get_os()

# do we have a particular operating system
is.os_mac()
is.os_win()
is.os_lnx()
is.os_unx()


[Package roperators version 1.3.14 Index]