To avoid issues running devtools::test() and/or load_all().
The idea is to allow extension packages to (silently) overwrite the model registry environments if the same data is being registered.
If other data is trying to overwrite, we should issue and error saying
- If you are working on a different extension package, we don't allow this
- Otherwise, do a hard restart of the R session (i.e. don't
load_all())
To avoid issues running
devtools::test()and/orload_all().The idea is to allow extension packages to (silently) overwrite the model registry environments if the same data is being registered.
If other data is trying to overwrite, we should issue and error saying
load_all())