Share Amazon CloudFront file via presigned url
signed_url.RdShares Amazon CloudFront file. Currently only set up for teaching files;
see bin/signed-url.
Usage
signed_url(file, out = stdout(), expiration = 365, r)Arguments
- file
Character vector of files to share. If path is included, it will be included in the download script save location.
- out
A connection object or character string, as in
[writeLines()], to which R commands are to be saved. If nothing is supplied, output is to console.- expiration
How long until URLs expire (in days)? Numeric. Default: 365.
- r
Output R code (as opposed to link)? By default, the function will return links if
out=stdout()and R code ifoutotherwise. However, this can be overridden by explicitly setting r to beTRUEorFALSE.