Problem with ggpubr

This means that you're missing Xcode Command Line Tools (I'm assuming you're on a Mac). Even though this post is for El Capitan, I know the same holds for Sierra (and I assume High Sierra, and Mojave, even, though you might want to search around a bit if you're on the last one).

https://tips.tutorialhorizon.com/2015/10/01/xcrun-error-invalid-active-developer-path-library-developer-commandline-tools-missing-xcrun/