This repository was archived by the owner on Oct 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed
Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,13 @@ importFrom(dplyr,tbl)
3939importFrom(dplyr,transmute)
4040importFrom(duckdb,duckdb)
4141importFrom(glue,glue)
42+ importFrom(httr,GET)
43+ importFrom(httr,HEAD)
4244importFrom(httr,modify_url)
4345importFrom(httr,parse_url)
4446importFrom(httr,progress)
47+ importFrom(httr,stop_for_status)
48+ importFrom(httr,write_disk)
4549importFrom(methods,as)
4650importFrom(purrr,imap)
4751importFrom(purrr,keep)
Original file line number Diff line number Diff line change @@ -286,6 +286,8 @@ sync_assay_files <- function(
286286}
287287
288288# ' Synchronises a single remote file with a local path
289+ # ' @importFrom httr write_disk GET stop_for_status
290+ # ' @importFrom cli cli_abort cli_alert_info
289291# ' @noRd
290292sync_remote_file <- function (full_url , output_file , ... ) {
291293 if (! file.exists(output_file )) {
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ get_unharmonised_dataset = function(
6767# ' harmonised <- get_metadata() |> dplyr::filter(tissue == "kidney blood vessel")
6868# ' unharmonised <- get_unharmonised_metadata(harmonised)
6969get_unharmonised_metadata = function (metadata , ... ){
70- args = list (... )
70+ args <- list (... )
7171 metadata | >
7272 collect() | >
7373 group_by(.data $ file_id ) | >
Original file line number Diff line number Diff line change 33# ' @return The file size of each of the files pointed to by the provided URL,
44# ' in gigabytes, as double vector
55# ' @importFrom purrr map_dbl
6+ # ' @importFrom httr HEAD
67# ' @keywords internal
78url_file_size = function (urls ){
89 map_dbl(urls , function (url ){
You can’t perform that action at this time.
0 commit comments