florianhartig/DHARMa

Better error messages if qgam calculations fail

Razorwing14 opened this issue · 8 comments

I've been trying to troubleshoot a problem running DHARMa : : simulateResiduals() and I've run up against a far more confusing issue along the way. Running the following code gives the below error message.

> library(DHARMa)
> ensureDHARMa(model)
# Error in ensureDHARMa(model) : could not find function "ensureDHARMa"

As far as I'm aware (from running ??ensureDHARMa) the function should be part of the DHARMa package but R doesn't seem able to find it. Any ideas?