Skip to contents

The R temporary directory is created using tempdir() that consults the environment values of TMPDIR, TMP, or TEMP to establish the path. We need to use a temporary directory as root is not guaranteed to have access to user's files.

Usage

binary_download(url, binary_file_name = basename(url), verbose = TRUE)

Arguments

url

A link containing the binary file to download.

binary_file_name

Name of the binary file to save. Default basname(url)

verbose

Display a status messages. Default true

Value

The file path for the binary file in the temporary R directory

Details

Downloads a binary package onto a user's computer into the temporary directory.