Problem integrating a option_model in R

Hello! I believe you're not getting any answers because there is no reprex. If you could provide one, it would be useful to know where exactly the code is failing.