# runMsFeatureCmp.R
# Package: msFeatureCmp
# Author: Yijia Chen
# Date: 2021-12-08
# Version: 0.1.0
# This file contains the point of entry for the shiny app.
#' Shiny app launcher
#'
#' Launches the shiny app for the package (msFeatureCmp). The shiny code is
#' located in \code{./inst/shiny-scripts}.
#'
#' @return Nothing. The shiny app is launched.
#'
#' @examples
#' \dontrun{
#' runMsFeatureCmp()
#' }
#'
#' @export
#' @import shiny
runMsFeatureCmp <- function() {
appDir <- system.file("shiny-scripts", package = "msFeatureCmp")
shiny::runApp(appDir, display.mode = "normal")
return(invisible(NULL))
}
# [END]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.