Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error when uploading XLSX file "object 'TADA.MultipleOrgDupGroupID' not found" #199

Open
5 tasks
JamesBisese opened this issue Jan 14, 2025 · 0 comments
Assignees

Comments

@JamesBisese
Copy link
Collaborator

JamesBisese commented Jan 14, 2025

Describe the bug

A fatal error occurs when trying to 'Run Tests' on data imported using 'Upload dataset'

To Reproduce

Steps to reproduce the behavior:

1. Go to '1. Load'

2. Scroll down to 'Option C: Upload dataset'

3. Click on 'Browse'

4. Select file (attached)
tada_output_ts241223103324.xlsx

-- Note: data successfully loads into TADA Shiny

5. Click on tab '3. Flag'

6. Click on button 'Run Tests'.

7. Error condition occurs. Screen is frozen and application dies

Please include your Water Quality Portal data query inputs from the Load
data tab:

If applicable, include code to reproduce the behavior:

Error: (converted from warning) Error in dplyr::mutate: ℹ In argument: `TADA.MultipleOrgDuplicate = ifelse(is.na(TADA.MultipleOrgDupGroupID), "N", "Y")`.
Caused by error:
! object 'TADA.MultipleOrgDupGroupID' not found

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Reminders for TADA contributors addressing this issue

Bug fixes should include the following work:

  • Create or edit the code.

  • Document all code using line/inline and/or multi-line/block comments
    to describe what is does.

  • Create or edit tests in tests/testthat folder to help prevent and/or
    troubleshoot potential future issues.

  • If your code edits impact other functionality in the shiny
    app, ensure those are updated as well.

  • Run styler::style_pkg(), devtools::document(), and devtools::check()
    and address any new notes or issues before creating a pull request.

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

No branches or pull requests

2 participants