R/zzz.R

Defines functions .onLoad

#' @importFrom utils read.csv
#' @importFrom ExperimentHub createHubAccessors
.onLoad <- function(libname, pkgname) {
    fl <- system.file("extdata", "metadata.csv", package = "TabulaMurisData")
    titles <- utils::read.csv(fl, stringsAsFactors = FALSE)$Title
    ExperimentHub::createHubAccessors(pkgname, titles)
}
csoneson/TabulaMurisData documentation built on Nov. 2, 2024, 9:52 p.m.