Just to bring this to conclusion, I resolved the issues with three items.
Thanks to digital_carver, setting project_extras=false solved one problem.
The other, I was under the mistaken perception that mean was not in Base, and Aqua was telling me that I did not need StatsBase as a dependency.