install_formats: Install rio's 'Suggests' Dependencies

View source: R/suggestions.R

install_formatsR Documentation

Install rio's ‘Suggests’ Dependencies

Description

Not all suggested packages are installed by default. These packages are not installed or loaded by default in order to create a slimmer and faster package build, install, and load. Use show_unsupported_formats() to check all unsupported formats. install_formats() installs all missing ‘Suggests’ dependencies for rio that expand its support to the full range of support import and export formats.

Usage

install_formats(...)

show_unsupported_formats()

Arguments

...

Additional arguments passed to utils::install.packages().

Value

For show_unsupported_formats(), if there is any missing unsupported formats, it return TRUE invisibly; otherwise FALSE. For install_formats() it returns TRUE invisibly if the installation is succuessful; otherwise errors.

Examples


if (interactive()) {
    install_formats()
}


rio documentation built on Sept. 26, 2024, 1:07 a.m.