Open DaveParr opened 5 years ago
So I've found a workaround:
You can call:
suppressMessages(library(tibbletime))
suppressMessages(library(anomalize))
suppressMessages(library(forecast))
By forcing the library load pre-emptively and then controlling the messaging at that stage, the package is already attached, and therefore time_decompose
doesn't generate the messages.
forecast
seems (right now), to cover all bases: forecast
, quantmod
and xts
.
Thanks for the work on the package, I've mostly been finding it really useful, apart from the following issue.
The following from the example prints a large volume of output to the console:
The output:
The S3 overwrite warnings are generated at the execution of
time_decompose
, not at thelibrary
call. This makes the output frustrating when you aware of these operations, but you can't turn them off.What would be the recommendation to prevent these messages printing to console?