get_sys_arch: Retrieve Operating System and CPU Architecture

View source: R/get_sys_arch.R

get_sys_archR Documentation

Retrieve Operating System and CPU Architecture

Description

This function retrieves the operating system (OS) name and the CPU architecture of the current system. The output combines the OS and CPU architecture into a single string in the format "<OS>-<Architecture>".

Usage

get_sys_arch()

Value

A character string indicating the operating system and CPU architecture, e.g., "Darwin-x86_64" or "Linux-aarch64".

Examples

# Retrieve the system architecture
condathis::get_sys_arch()
#> [1] "Darwin-x86_64"


condathis documentation built on April 12, 2025, 2:01 a.m.