It would be nice if R CMD check ran any file in the tests directory that has "one of the extensions .R, .S, .q, .r, or .s" - i.e. it should match the files processed in the R directory. Hadley -- http://had.co.nz/