Skip to content

Fix ROBINS-E manual data entry (Add a new study does nothing)#168

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-robins-e-data-upload
Draft

Fix ROBINS-E manual data entry (Add a new study does nothing)#168
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-robins-e-data-upload

Conversation

Copilot AI commented Apr 14, 2026

Copy link
Copy Markdown

Clicking "Add a new study" with ROBINS-E selected was a no-op — the observeEvent(input$enter_manually) handler had branches for ROB2, ROB2-Cluster, ROBINS-I, and QUADAS-2, but ROBINS-E was never added.

Change

  • robvisapp/app.R: Added the missing ROBINS-E branch, initializing the editable data frame with the correct 7-domain structure:
if (input$tool == "ROBINS-E") {
  rv$data = data.frame(
    Study   = "Click to edit",
    D1      = "Click to edit",
    D2      = "Click to edit",
    D3      = "Click to edit",
    D4      = "Click to edit",
    D5      = "Click to edit",
    D6      = "Click to edit",
    D7      = "Click to edit",
    Overall = "Click to edit",
    Weights = 1,
    stringsAsFactors = FALSE
  )
  rv$new_row = rv$data
}

Copilot AI linked an issue Apr 14, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix issue with uploading ROBINS-E data manually Fix ROBINS-E manual data entry (Add a new study does nothing) Apr 14, 2026
Copilot AI requested a review from mcguinlu April 14, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to upload ROBINS-E data manually

2 participants