createShinyAppFolder: Ready-for-deployment shiny app folder creation

Description Usage Arguments Examples

View source: R/createShinyAppFolder.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

linkspotter documentation built on July 23, 2020, 5:08 p.m.