A problem of PkgTemplate of `Base.retry_load_extensions()`

Hi, all. I use PkgTemplate to create a local package. When I using my package, the error shows up:
Error: Error during loading of extension FillArraysStatisticsExt of FillArrays, use `Base.retry_load_extensions()` to retry.
And after I run Base.retry_load_extensions(), I can import my package. I am confused about what is the meaning of Base.retry_load_extensions() ?

Your first import did partially work, but something went wrong with loading that extension triggered by loading FillArrays and Statistics. Base.retry_load_extensions() just tried loading triggered extensions again. Of course, that shouldn’t happen, and you aren’t expected to manually load extensions like this. I don’t run into this problem in the REPL either.

Is this problem repeatable across new sessions? Does your package evaluate something into the FillArrays or Statistics modules?

1 Like