I use the package colorout to color my output in R (I don't use RStudio). When running tests in testthat
it also prints out in color interfering with the colorout package printing a lot of color codes.
Here is an example of the output:
R> library(colorout)
R> devtools::test()
Loading mypackage
Testing mypackage
1;32m.0m1;32m.0m1;32m.0m
How can I turn off coloring in testthat
?