R/zzz.R

Defines functions .onLoad

#' @importFrom ExperimentHub createHubAccessors
#' @importFrom utils read.csv
#' @import SpatialExperiment
.onLoad <- function(libname, pkgname) {
  fl <- system.file("extdata", "metadata.csv", package=pkgname)
  titles <- read.csv(fl, stringsAsFactors=FALSE)$Title
  createHubAccessors(pkgname, titles)
}
julia-wrobel/VectraPolarisData documentation built on Sept. 2, 2023, 1:40 p.m.