Tests take a long time on account of repeated fitting of the model. This could probably be sped up in a couple of different ways.
- Fit the models outside of test environment (or bind to a variable globally...) and use the objects for multiple tests
- Create a dataframe containing a smaller subset of games (e.g. only 5 teams or so) to fit the model on.
Tests take a long time on account of repeated fitting of the model. This could probably be sped up in a couple of different ways.