R/launchAppAtShinyApps.R

Defines functions launchAppAtShinyApps launchAppLocally

# To view the vignette doc,
# in the Terminal run "open ./DUEshiny/www/DUE_vignette.html"
launchAppLocally = function(){
  if(!require('DUE'))
    install_github('professorbeautiful/DUE')
  if(!require('shinyDebuggingPanel'))
    install_github('professorbeautiful/shinyDebuggingPanel')
  runApp('inst/DUEshiny/')
  }
launchAppAtShinyApps = function(
  app = 'DUEshiny', account='trials',
  browser=getOption('browser')
)
  browseURL(paste0('https://',
                   account, '.shinyapps.io/',
                   app),
            browser = browser)

launchAppAtShinyApps()
professorbeautiful/DUE documentation built on April 25, 2024, 9:16 a.m.