system_r_platform {pak}R Documentation

R platforms

Description

R platforms

Usage

system_r_platform()

system_r_platform_data()

Details

system_r_platform() detects the platform of the current R version. system_r_platform_data() is similar, but returns the raw data instead of a character scalar.

By default pak works with source packages and binary packages for the current platform. You can change this, by providing different platform names in the pkg.platforms option or the PKG_PLATFORMS environment variable.

This option may contain the following platform names:

Value

system_r_platform() returns a character scalar.

system_r_platform_data() returns a data frame with character scalar columns:

See Also

These function call pkgcache::current_r_platform() and pkgcache::current_r_platform_data().

Examples


system_r_platform()
system_r_platform_data()


[Package pak version 0.7.2 Index]