Skip to contents

Running this function will launch the FReD Replication Annotator shiny app

Usage

run_annotator(
  offer_install = interactive(),
  in_background = NULL,
  auto_close = interactive(),
  port = 3839
)

Arguments

offer_install

Should user be prompted to install required packages if they are missing?

in_background

Should the app be run in the background (i.e. not block the R console)? Default to TRUE if RStudio is used.

auto_close

Should the app be automatically ended when the browser is closed (or refreshed)?

port

The port to run the app on (can usually be left at the default value)

Value

Replication Annotator shiny app

Examples

if (interactive()) {
  # To run the Replication Annotator app:
  run_annotator()
}