-
Notifications
You must be signed in to change notification settings - Fork 4
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
print an informative output even if there is no validation issue #143
Comments
What about the case where this is used in a pipeline and the user just wants the pipeline to continue if everything is valid. Should this behaviour be controlled by an extra argument? |
if everything is valid, and we get a message similar to a "warning" (or just a neutral print message) I think this will allow the pipeline to continue, right? I imagine sth similar to the #> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`. as in this reprex: library(tidyverse)
starwars %>%
ggplot(aes(x = height)) +
geom_histogram()
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> Warning: Removed 6 rows containing non-finite outside the scale range
#> (`stat_bin()`). Created on 2024-08-08 with reprex v2.1.0 |
Yes, you're correct, the pipeline can continue. One problem with long pipelines however is that you get overflowed with messages and they are no longer helpful. @chartgerink, any opinions on this, as it is relevant for datatagr as well? |
I don't see any problems with that 👍 Thanks for the suggestion @avallecam 😄 |
Is your feature request related to a problem? Please describe.
The output of
validate_linelist()
is equivalent to the output ofmake_linelist()
. It would be informative to users to get a message that validation was successfull.Created on 2024-07-30 with reprex v2.1.0
Describe the solution you'd like
A printed message like
All tagged variables are valid.
or similar.Additional context
A similar request was suggested for the cleanepi package at epiverse-trace/cleanepi#150
The text was updated successfully, but these errors were encountered: