Checks that a given input corresponds to the format expected of a download data frame, consistently returns expected format
Source:R/cas_download.R
cas_get_urls_df.RdChecks that a given input corresponds to the format expected of a download data frame, consistently returns expected format
Value
Consistently returns a data frame with at least two columns: a
numeric id column, and a character url column.
Examples
cas_get_urls_df(c(
"https://example.com/a/",
"https://example.com/b/"
))
#> Error in tibble::tibble(id = seq_along(urls), url = url): All columns in a tibble must be vectors.
#> ✖ Column `url` is a function.