business-science / free_r_tips

Free R-Tips is a FREE Newsletter provided by Business Science. It comes with bite-sized code tutorials every week.
1.38k stars 699 forks source link

update in free_r_tip 20 (SQL from R) required. #1

Closed fschier closed 3 years ago

fschier commented 3 years ago

dplyr::across does not take a vector of c(mean, median) as a value to the .fns argument. Instead a list list(mean, median) is required. Found this by coincidence, so other skripts might need some adaption as well.

Greetings Felix

WebscienceXYZ commented 3 years ago

Thank you

mdancho84 commented 3 years ago

Thanks. I've updated this in the lesson.