Help with Function()

How do you know that it doesn't do what you want? Can you show how you use it later? It would help if you put this in reprex (more info FAQ: What's a reproducible example (`reprex`) and how do I do one? and FAQ: How to do a minimal reproducible example ( reprex ) for beginners)