plan_to_code function

Turn a drake plan into a plain R script file.