download_file: Download file from URL path

Description Usage Arguments Author(s)

View source: R/download_unpack.R

Description

Download file and name and save it to a user-specified location

Usage

1
download_file(url, write_directory, fname)

Arguments

url

character. URL to download the target file

write_directory

character. Full path to the directory you wish to install the example data to. Must be write-enabled for the user.

fname

character. The file name with extension to save the file as

Author(s)

Chris R. Vernon (chris.vernon@pnnl.gov)


JGCRI/rpackageutils documentation built on Dec. 13, 2021, 10:05 p.m.