阅读背景:

如何为ggplot绘图编写一个测试

来源:互联网 

I have a lot of functions that generate plots, typically with ggplot2. Right now, I'm generating the plot and testing the underlying data. But I'd like to know if there's a reasonable way to test that the plot contains the layers/options I expect it to or that graphical elements match expectations. I have a lot of functions that generate plots,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: