is_installed {rlang} | R Documentation |
This checks that packages are installed with minimal side effects. If installed, the packages will be loaded but not attached.
is_installed(pkg)
pkg |
The package names. |
TRUE
if all package names provided in pkg
are installed,
FALSE
otherwise.
is_installed("utils") is_installed(c("base", "ggplot5"))