Open pitakakariki opened 6 years ago
Make a unit test for this - example is somewhere in emails.
Note that this is basically getData(fm) <- getData(fm)
. Could do this by default in all runs?
Hopefully this would fix e.g. this: https://github.com/pitakakariki/simr/issues/39#issuecomment-996169458
Basically do a null "extend", and just copy the data to the
newData
attribute. Hopefully this is more robust to models being passed between functions?