Returns a vector of warning messages from the most recent
logging session. The function takes no parameters. The warning
list will be cleared the next time log_open is called.
get_warnings()
See also
log_warning to write a warning message to the log.
Examples
library(logr)# Create temp file locationtmp<-file.path(tempdir(), "test.log")# Open loglf<-log_open(tmp)# Send warning message to loglog_warning("Here is a warning")# Close loglog_close()# Retrieve warningsres<-get_warnings()# View resultsres# [1] "Warning: Here is a warning"