test_option_key <- function(){
checkIdentical(.hub_option_key("ASK"), "ASK")
checkException(.hub_option_key("NOTFOUND"))
}
test_get_option <- function(){
checkException(getAnnotationHubOption("NOTFOUND"))
checkIdentical(getAnnotationHubOption("URL"),
"https://annotationhub.bioconductor.org")
}
test_set_option <- function(){
checkException(setAnnotationHubOption("NOTFOUND"))
orig_max <- getAnnotationHubOption("MAX_DOWNLOADS")
setAnnotationHubOption("MAX_DOWNLOADS",100)
checkIdentical(getAnnotationHubOption("MAX_DOWNLOADS"), 100L)
setAnnotationHubOption("MAX_DOWNLOADS",orig_max)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.