View source: R/download_functions.R
download_image | R Documentation |
This function downloads and image related to the class from the class GitHub repository.
download_image(file_name, force_download = FALSE, mode = "wb")
file_name |
The name the image to download. |
force_download |
Will download and overwrite an existing image if the downloaded image 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. |
# Download an image from the class GitHub repository
## Not run: download_image("valentin.png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.