Remove R library dependency on optparse.