R package for implementing the tests of Gibbons et al.