diff --git a/R/loading_functions.R b/R/loading_functions.R index 8958a5f..413e681 100644 --- a/R/loading_functions.R +++ b/R/loading_functions.R @@ -1,7 +1,7 @@ ##' @importFrom utils read.csv ##' @importFrom ExperimentHub createHubAccessors -.createDepMapHubAccessors <- function() { - fls <- dir(system.file("extdata", package = "depmap"), +.createDepMapHubAccessors <- function(pkgname = "depmap") { + fls <- dir(system.file("extdata", package), full.names = TRUE, pattern = "metadata") sapply(fls, function(fl) {