File is a base R6 class representing a TSV/CSV/JSON output from a UMCCR workflow.
A File has a path, a basename, a type, and can be a presigned URL.
Methods
Examples
F1 <- File$new(readr::readr_example("mtcars.csv"))
(bname_f1 <- F1$bname())
#> [1] "mtcars.csv"
(F2 <- File$new("https://stratus-gds-aps2/foo/bar/baz.csv?bla"))
#> #--- File ---#
#> Path: https://stratus-gds-aps2/foo/bar/baz.csv?bla
#> Basename: baz.csv
#> Type: NA
#> isURL: TRUE