inst/templates/zzz.R

.onLoad <- function(libname, pkgname) {
    fl <- system.file("extdata", "metadata.csv", package=pkgname)
    titles <- read.csv(fl, stringsAsFactors=FALSE)$Title
    ExperimentHub::createHubAccessors(pkgname, titles)
}
Bioconductor/HubPub documentation built on Nov. 1, 2024, 11:02 p.m.