[Rd] Package checking: verifying plots

2014-01-22 Thread Therneau, Terry M., Ph.D.
I pride myself on having an extensive and comprehensive test suite for the survival package. However, I don't have a good procedure for testing the plotting routines. (Forget good, I don't even have a third-rate procedure for this.) This was brought home with the latest release; within 24

Re: [Rd] Package checking: verifying plots

2014-01-22 Thread Prof Brian Ripley
On 22/01/2014 14:35, Therneau, Terry M., Ph.D. wrote: I pride myself on having an extensive and comprehensive test suite for the survival package. However, I don't have a good procedure for testing the plotting routines. (Forget good, I don't even have a third-rate procedure for this.) This

Re: [Rd] Package checking: verifying plots

2014-01-22 Thread baptiste auguie
Hi, Winston Chang designed the vtest package for a similar purpose, https://github.com/wch/ggplot2/wiki/Visual-test-system https://github.com/wch/vtest I don't know if / how well it works outside the ggplot2 framework, but it's pretty slick. HTH, baptiste On 22 January 2014 11:35,