check_package: Check if package exists

View source: R/check_package.R

check_packageR Documentation

Check if package exists

Description

Check if package exists

Usage

check_package(pkg, install = getOption("repro.install"), github = NULL)

Arguments

pkg

Which package are we talking about?

install

Should we install the package in case its missing?

github

A github username/package from which the package is installed. If NULL (the default) CRAN (or whatever repo) you have set is used.

See Also

Other checkers: check, has_package(), has, uses


aaronpeikert/repro documentation built on Sept. 16, 2024, 7:12 p.m.