An R package for sequential permutation test.