#' Allows running \code{shiny} application with
#' \code{nprcgenekeepr::runGeneKeepR()}
#'
## Copyright(c) 2017-2020 R. Mark Sharp
## This file is part of nprcgenekeepr
#'
#' @return Returns the error condition of the Shiny application when it
#' terminates.
#'
#' @examples
#' \dontrun{
#' library(nprcgenekeepr)
#' runGeneKeepR()
#' }
#'
#' @importFrom shiny runApp
#' @export
runGeneKeepR <- function() {
appDir <- system.file("application", package = "nprcgenekeepr")
if (appDir == "") {
stop(paste0("Could not find application directory. ",
"Try re-installing `nprcgenekeepr`."),
call. = FALSE)
}
shiny::runApp(appDir, display.mode = "normal", port = 6012)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.