An error shouldn't occur. The issue is that the df_error_head_n argument is not being passed to the make_accordion_element() for validation warnings, in display_results(). So if I understand correctly I think its just a one-line fix.
This is assuming that it should be the same and not a separate df_warning_head_n argument. Hope that makes sense.
Attachments
No response
Screenshots or Videos
No response
Additional Information
As this is a relatively small, simple change I'm happy to raise a PR for it myself if you'd prefer. Just let me know!
Guidelines
Project Version
2.4.1
Platform and OS Version
Windows 10
Existing Issues
No response
What happened?
When using
save_report()
for a report that has validation warnings, an error is thrown due to a missingdf_error_head_n
argument.Steps to reproduce
You can use a simplified version of the first example on the 'All you need to know about 'data.validator' vignette.
Created on 2023-12-21 with reprex v2.0.2
Expected behavior
An error shouldn't occur. The issue is that the
df_error_head_n
argument is not being passed to themake_accordion_element()
for validation warnings, indisplay_results()
. So if I understand correctly I think its just a one-line fix.This is assuming that it should be the same and not a separate
df_warning_head_n
argument. Hope that makes sense.Attachments
No response
Screenshots or Videos
No response
Additional Information
As this is a relatively small, simple change I'm happy to raise a PR for it myself if you'd prefer. Just let me know!