One-way ANOVA for loop: how do I initiate through multiple colums of a dataframe

See the FAQ: How to do a minimal reproducible example reprex for beginners. Representative data relieves the need to reverse engineer the problem, which will give a better chance of a helpful answer.