Skip to contents

Installs the pak R package by r-lib from their official binary GitHub build.

Usage

inst_pak()

Value

Invisible NULL

Details

Note this installs the development version of r-lib/pak using the following code:

repo <- sprintf(
  "https://r-lib.github.io/p/pak/stable/%s/%s/%s",
  .Platform$pkgType,
  R.Version()$os,
  R.Version()$arch
)

install.packages("pak", repos = repo)

Examples

if (FALSE) {
inst_pak()
}