createShinyAppFolder {linkspotter} | R 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)
[Package linkspotter version 1.3.0 Index]