train and test with recipe() and workflow()?

Please let me ask it differently with the below new example. Thank you.