R/shiny_launch.R

Defines functions shiny_launch

shiny_launch <- function(...){
	
	# Might have different shiny apps within here at some point?
	
	ad <- system.file("shiny_typologies", package = "bayescount")
	if(ad == ""){
		stop("Package directory not found - is the bayescount package installed?", call. = FALSE)
	}
	  
	shiny::runApp(appDir=ad, ...)
	
}
mdenwood/bayescount documentation built on Oct. 17, 2019, 6:59 a.m.