#' @import ExperimentHub
#' @importFrom utils read.csv
.onLoad <- function(libname, pkgname) {
fl <- system.file("extdata", "metadata.csv", package="bodymapRat")
titles <- read.csv(fl, stringsAsFactors=FALSE)$Title
createHubAccessors(pkgname, titles)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.