R/launch_app.R

Defines functions launch_app

Documented in launch_app

#' Launch ConverTier2 Shiny Application
#'
#' Launches the graphical user interface for ConverTier2.
#'
#' @return This function launches the Shiny application and
#' does not return a value.
#'
#' @importFrom shiny runApp
#'
#' @export
launch_app <- function() {

  app_dir <- system.file(
    "shiny",
    package = "ConverTier2"
  )

  if (!nzchar(app_dir)) {
    stop(
      "Shiny application tidak ditemukan. ",
      "Pastikan package ConverTier2 telah diinstal dengan benar."
    )
  }

  shiny::runApp(app_dir)
}

Try the ConverTier2 package in your browser

Any scripts or data that you put into this service are public.

ConverTier2 documentation built on Nov. 12, 2026, 1:07 a.m.