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

Commit 1e1f65e

Browse files
committed
Add missing files, tidy up imports
1 parent 84df2a1 commit 1e1f65e

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

R/query.R

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ get_SingleCellExperiment <- function(
148148
}
149149

150150
#' Converts a data frame into a single SCE
151-
#'
152151
#' @param i Suffix to be added to the column names, to make them unique
153152
#' @param df The data frame to be converted
154153
#' @param dir_prefix The path to the single cell experiment, minus the final segment
@@ -216,7 +215,6 @@ group_to_sce <- function(i, df, dir_prefix, features) {
216215
}
217216

218217
#' Synchronises one or more remote assays with a local copy
219-
#'
220218
#' @param url A character vector of length one. The base HTTP URL from which to
221219
#' obtain the files.
222220
#' @param cache_dir A character vector of length one. The local filepath to
@@ -226,14 +224,10 @@ group_to_sce <- function(i, df, dir_prefix, features) {
226224
#' @param files A character vector containing one or more file_id_db entries
227225
#' @returns A character vector consisting of file paths to all the newly
228226
#' downloaded files
229-
#'
230227
#' @return A character vector of files that have been downloaded
231-
#' @importFrom purrr pmap_chr transpose map_chr
232-
#' @importFrom httr modify_url GET write_disk stop_for_status parse_url HEAD
233-
#' @importFrom dplyr tibble transmute filter full_join rowwise ungroup
234-
#' @importFrom glue glue
235-
#' @importFrom assertthat assert_that
236-
#' @importFrom cli cli_alert_success cli_alert_info cli_abort
228+
#' @importFrom purrr pmap_chr map_chr
229+
#' @importFrom httr modify_url
230+
#' @importFrom dplyr transmute filter
237231
#' @noRd
238232
#'
239233
sync_assay_files <- function(

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ report_file_sizes = function(urls){
2222
round(digits=2)
2323

2424
cli_alert_info("Downloading {length(urls)} file{?s}, totalling {total_size} GB")
25-
}
25+
}

0 commit comments

Comments
 (0)