R/run_kmeans_shiny.R

Defines functions run_kmeans_shiny

Documented in run_kmeans_shiny

#' Runs the shiny app.
#'
#' I mean, thats about as much explanation as it needs
#'
#' @export
#'

run_kmeans_shiny <- function() {
  library(tidyverse)
  library(caret)
  library(DT)
  library(glmnet)
  library(umap)
  appDir <- system.file("clusters_shiny.R", package = "devinwkmeans")
  if (appDir == "") {
    stop("Could not find myapp. Try re-installing `devinwkmeans`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}
devinwarner10/devinwkmeans documentation built on April 24, 2022, 10 p.m.