Skip to content

shiny feature needs to be implemented as a function #3

Description

@thibautjombart

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions