R/zzz.R

Defines functions .onLoad

#' @import ExperimentHub
#' @importFrom utils read.csv
.onLoad <- function(libname, pkgname) {
  fl <- system.file("extdata", "metadata.csv", package="benchmarkfdrData2019")
  titles <- read.csv(fl, stringsAsFactors=FALSE)$Title
  createHubAccessors(pkgname, titles)
}
stephaniehicks/benchmarkfdrData2019 documentation built on June 20, 2021, 10 a.m.