Skip to contents

A thin wrapper around utils::install.packages() that points at https://openwashdata.r-universe.dev (with CRAN as fallback for dependencies).

Usage

owd_install(pkg = NULL, ...)

Arguments

pkg

Character vector of package names to install. NULL (the default) installs every published package after an interactive confirmation showing the count; in non-interactive sessions NULL is an error, so scripts must name packages explicitly.

...

Passed on to utils::install.packages().

Value

Invisibly, the character vector of package names requested.

Examples

if (FALSE) { # \dontrun{
owd_install("washmalawi")
owd_install()
} # }