I'm building an R package on Travis to share the integration status with users of the package. I have no errors but 8 warnings and I would like to ignore them for the moment. But travis considered the build a failure and returns the message on the last line of the R CMD check log:
Found warnings, treating as errors (as requested)
How to ignore warnings?
All you need to do is have
warnings_are_errors: false
near the top of your .travis.yml
file
Here is an example from one of my R packages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With