R package to simulate event times with complex hazards and competing risks