Skip to content

List all platforms supported by Posit Package Manager (PPM)

Usage

ppm_platforms()

Value

Data frame with columns:

  • name: platform name, this is essentially an identifier,

  • os: operating system, linux, windows or macOS currently,

  • binary_url: the URL segment of the binary repository URL of this platform, see ppm_snapshots().

  • distribution: for Linux platforms the name of the distribution,

  • release: for Linux platforms, the name of the release,

  • binaries: whether PPM builds binaries for this platform.

  • platforms: a list column of character vectors; for each row they list all possible matching distribution and release strings. Each string can be a fixes strings, but if it starts and ends with a forward string, then it is used as regular expression.

See also

The 'pkgcache and Posit Package Manager on Linux' article at https://r-lib.github.io/pkgcache/dev/.

Other PPM functions: ppm_has_binaries(), ppm_r_versions(), ppm_repo_url(), ppm_snapshots()

Examples

ppm_platforms()
#> # A data frame: 32 × 7
#>    name        os    binary_url distribution release binaries platforms
#>    <chr>       <chr> <chr>      <chr>        <chr>   <lgl>    <list>   
#>  1 centos7     linux centos7    centos       7       TRUE     <chr [1]>
#>  2 centos8     linux centos8    centos       8       TRUE     <chr [1]>
#>  3 rhel9       linux rhel9      rockylinux   9       TRUE     <chr [7]>
#>  4 opensuse15  linux opensuse15 opensuse     15      TRUE     <chr [6]>
#>  5 opensuse152 linux opensuse1… opensuse     15.2    TRUE     <chr [2]>
#>  6 opensuse153 linux opensuse1… opensuse     15.3    TRUE     <chr [2]>
#>  7 opensuse154 linux opensuse1… opensuse     15.4    TRUE     <chr [2]>
#>  8 opensuse155 linux opensuse1… opensuse     15.5    TRUE     <chr [2]>
#>  9 opensuse156 linux opensuse1… opensuse     15.6    TRUE     <chr [2]>
#> 10 opensuse42  linux opensuse42 opensuse     42.3    TRUE     <chr [2]>
#> # ℹ 22 more rows