download_any_file: Download any file related to the class

View source: R/download_functions.R

download_any_fileR Documentation

Download any file related to the class

Description

This function downloads any file related to the class from the class GitHub repository.

Usage

download_any_file(file_path_and_name, force_download = FALSE, mode = "wb")

Arguments

file_path_and_name

The name of the path and file to download.

force_download

Will download and overwrite an existing file if the downloaded file has the same name.

mode

A character indicating the mode with which to write the file. Useful values are "w", "wb" (binary), "a" (append) and "ab". Not used for methods "wget" and "curl". See also ‘Details’, notably about using "wb" for Windows. See download.file() mode argument.

Examples

 # Download an image from the class GitHub repository
 ## Not run: download_any_file("images/valentin.png")


emeyers/SDS230 documentation built on Jan. 18, 2024, 1:01 a.m.