Dynamically handle a local or remote file path
Local file path(s). Stops on a missing file.
This function is vectorized and supports mixed local and remote paths. Remote files are downloaded locally to a temporary directory.
Compressed files will automatically be decompressed. Currently, these file
extensions are natively supported:
## Local file <- system.file("extdata/example.csv", package = "brio") x <- localOrRemoteFile(file) basename(x)#>  "example.csv"## Remote file <- paste(brioTestsURL, "hgnc.txt.gz", sep = "/") x <- localOrRemoteFile(file)#>basename(x)#>  "hgnc.txt"