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")#> [1] TRUE#> [1] FALSE