-
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
Displaying clickable text for showing messages #73
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @RossanaTat ,
Thank you so much. The changes look really good. I made a few suggestions. Please review and push again.
Thanks.
R/joyn-merge.R
Outdated
notes_count <- sum( | ||
.joynenv$joyn_msgs$type %in% c("info", "note") | ||
) | ||
|
||
warn_count <- sum( | ||
.joynenv$joyn_msgs$type == "warn" | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @RossanaTat ,
thank you so much.
What happens when .joynenv$joyn_msgs$type
is NULL or has NA? I suggest you retrieve joyn_msgs
with rlang::env_get()
and use either sum( na.rm = TRUE)
or fsum()
from collapse.
Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @randrescastaneda, thank you for reviewing. I have pushed some changes following your suggestions, and also to show the user the clickable messages only if there are any. Let me know if it looks okay now. Thank you!
No description provided.