Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 31692fa

Browse files
committed
R CMD check
1 parent 20ed413 commit 31692fa

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

NAMESPACE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,13 @@ importFrom(dplyr,tbl)
3939
importFrom(dplyr,transmute)
4040
importFrom(duckdb,duckdb)
4141
importFrom(glue,glue)
42+
importFrom(httr,GET)
43+
importFrom(httr,HEAD)
4244
importFrom(httr,modify_url)
4345
importFrom(httr,parse_url)
4446
importFrom(httr,progress)
47+
importFrom(httr,stop_for_status)
48+
importFrom(httr,write_disk)
4549
importFrom(methods,as)
4650
importFrom(purrr,imap)
4751
importFrom(purrr,keep)

R/query.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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
290292
sync_remote_file <- function(full_url, output_file, ...) {
291293
if (!file.exists(output_file)) {

R/unharmonised.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)
6969
get_unharmonised_metadata = function(metadata, ...){
70-
args = list(...)
70+
args <- list(...)
7171
metadata |>
7272
collect() |>
7373
group_by(.data$file_id) |>

R/utils.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
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
78
url_file_size = function(urls){
89
map_dbl(urls, function(url){

0 commit comments

Comments
 (0)