Skip to contents

[Experimental]

Usage

install_pkg_needed(
  pkg,
  use_pak = TRUE,
  bioconductor_pkg = FALSE,
  github_pkg = FALSE,
  verbose = FALSE
)

Arguments

pkg

The name of the package

use_pak

(logical, default TRUE) Use of pak::pkg_install(). If FALSE use the base install.package() function or the function BiocManager::install() if bioconductor_pkg is true or the function

bioconductor_pkg

(logical, default FALSE). If use_pak is TRUE, do nothing, else use BiocManager::install() to install the package.

github_pkg

(logical, default FALSE). If use_pak is TRUE, do nothing, else use devtools::install_github to install the package.

verbose

(logical, default FALSE) Does the function print message?

Value

Nothing

Author

Adrien Taudière