Type: Package
Title: Linux Distribution Properties
Version: 0.1.1
Description: In order to provide unified access to Linux distribution details in R, this package wraps the various files and commands that may exist on a system. It is similar in spirit to the 'lsb_release' command and the 'Python' package of the same name.
License: Apache License (≥ 2.0)
Encoding: UTF-8
Suggests: testthat (≥ 2.1.0)
RoxygenNote: 7.1.0.9000
URL: https://enpiar.com/distro/, https://github.com/nealrichardson/distro
BugReports: https://github.com/nealrichardson/distro/issues
NeedsCompilation: no
Packaged: 2025-09-14 19:37:04 UTC; npr
Author: Neal Richardson [aut, cre]
Maintainer: Neal Richardson <neal.p.richardson@gmail.com>
Repository: CRAN
Date/Publication: 2025-09-14 19:50:08 UTC

Get info on the system's Linux distribution

Description

Get info on the system's Linux distribution

Usage

distro()

Value

On Linux distributions, it returns a list of four elements:

Not all fields are guaranteed to be defined on all systems. On non-Linux systems, the function returns NULL.

Examples

distro()