R package for benchmarking code