Learn R Programming

dynutils (version 1.0.11)

install_packages: Check package availability

Description

If the session is interactive, prompt the user whether to install the packages.

Usage

install_packages(..., try_install = interactive())

Arguments

...

The names of the packages to be checked

try_install

Whether running interactivly, which will prompt the user before installation

Examples

Run this code
if (FALSE) {
install_packages("SCORPIUS")
}

Run the code above in your browser using DataLab