Set options so that R engine runs in a manner that is comparable with the TMB engine

tmb_mode()