-
Notifications
You must be signed in to change notification settings - Fork 5
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
Using Excel upload - Need to handle error when 'Run Tests' is pressed and there is a fatal TADA error raised #180
Comments
When run on the excel file I get this result
When you download data using TADAShiny WQX query it is running TADA_AutoClean(TADAprofile) These same operation is NOT performed on the imported excel file.
|
Here is some test of the excel, running in TADA_FlagMeasureQualifierCode()
And here is the same place with data pulled from the WQP
|
JamesBisese
changed the title
Need to handle error when 'Run Tests' is pressed and there is a fatal TADA error raised
Using Excel upload - Need to handle error when 'Run Tests' is pressed and there is a fatal TADA error raised
Dec 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When loading data from an Excel file using the 'Run Test' button on the 'Flag' tab panel causes a fatal error that locks the screen for the user. In the console during debugging the message is
To Reproduce
Steps to reproduce the behavior:
1. In the 'Load' tab panel, use the "Option C: Upload dataset" option to load the user file tada_output_utah_10rows.xlsx
2. Click on 'Flag' tab. In the Flag tab panel, click on the 'Run Tests' button
3. See UI error in the browser
If running in developer mode, the following is printed to the console
If applicable, include code to reproduce the behavior:
By using a browser() statement, I can see that the MeasureQualifierCode are all the letters 'NA' which in the excel file are blank.
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.
The text was updated successfully, but these errors were encountered: