OptiRum R package