stats may not have been loaded in the event of .onLoad()

`.onLoad()` only guarantees the base package to be available; other packages have to be explicitly loaded, e.g. via `::`