createShinyAppFolder: Ready-for-deployment shiny app folder creation

View source: R/createShinyAppFolder.R

createShinyAppFolderR Documentation

Ready-for-deployment shiny app folder creation

Description

This function creates a shiny app folder containing a shiny app object directly readable by a shiny-server.

Usage

createShinyAppFolder(linkspotterObject, folderName)

Arguments

linkspotterObject

a linkspotter object, resulting from linkspotterComplete() or linkspotterOnFile() functions.

folderName

a character string corresponding to the name of the shiny app folder to create.

Examples

data(iris)
lsOutputIris<-linkspotterComplete(iris)
tmpShinyFolder<-tempdir()
createShinyAppFolder(lsOutputIris,
folderName=file.path(tmpShinyFolder,"myIrisLinkspotterShinyApp1")
)
## Not run: 
# launch the shiny app
shiny::runApp(tmpShinyFolder)

## End(Not run)

sambaala/linkspotter documentation built on Oct. 18, 2023, 9:45 p.m.