Current shiny stuff has been moved to /inst/shiny. Some changes are needed for users to be able to access the shiny features.
We would need:
- to check that the files in /inst/shiny are not redundant
- to make this a function where the dataset can change; code currently uses a fixed dataset
- calls to 'library' have to be removed from within the .R files and stated as dependencies (fields @import in roxygen and adding the relevant packages to DESCRIPTION file)
One way to do this is:
- have the files server.R and ui.R in the inst/shiny folder
- have a function starting the server which refers to these files using system.files()
There is an example of that with the function adegenetServer() in adegenet:
Current shiny stuff has been moved to /inst/shiny. Some changes are needed for users to be able to access the shiny features.
We would need:
One way to do this is:
There is an example of that with the function adegenetServer() in adegenet: