R/egf_shiny.R

Defines functions egf_shiny

Documented in egf_shiny

egf_shiny <-
function(app = c("toplevel", "windowselect"), ...) {
	app <- match.arg(app)
	stopifnot(requireNamespace("shiny"))
	if (app == "windowselect")
	stopifnot(requireNamespace("shinyFeedback"))
	appdir <- system.file("shiny", app, package = "epigrowthfit",
	                      mustWork = TRUE)
	shiny::runApp(appdir, ...)
}
davidearn/epigrowthfit documentation built on Feb. 22, 2025, 12:44 p.m.