Load a remote R binary file. This function is vectorized and supports multiple URLs in a single call.
Examples
url <- AcidBase::pasteUrl(
pipetteTestsUrl,
"rnaseq_counts.rds",
protocol = "none"
)
print(url)
#> [1] "https://r.acidgenomics.com/testdata/pipette/rnaseq_counts.rds"
x <- loadRemoteData(url)
#> → Downloading <https://r.acidgenomics.com/testdata/pipette/rnaseq_counts.rds> to /private/var/folders/9b/4gh0pghx1b71jjd0wjh5mj880000gn/T/RtmpTS5po5/0hQz3VeAF8-174283327651896/pipette-e1b830273b95.rds.
#> → Importing <https://r.acidgenomics.com/testdata/pipette/rnaseq_counts.rds> using base::`readRDS()`.
print(x)
#> rnaseq_counts
#> "https://r.acidgenomics.com/testdata/pipette/rnaseq_counts.rds"