Closed denrou closed 6 years ago
Hi Denis, thanks for pointing that out. I'd much rather take the first option, as the latter would suppress all warnings, which is a little spooky.
I have added your suggestion to the latest Github version, v1.1.1. Documentation also now clearly states that those two fields will be coerced to character entries.
Thanks!
First of all, thank you for this package!
Now, for the problem I encounter:
This warning pops up because of
bind_rows
becauseglue::glue
gives an object of classglue
which is not present in the column of the dataframe.I see two solutions to overcome this:
as.character(log_msg)
to automatically convert every log message (and log details) into charactersuppressWarnings(dplyr::bind_rows(...))
to avoid this type of warning.Note that I expect this kind of warning to happen not just with
glue
but for all objects with other attributes thancharacter
(dates
,durations
, ...)