florianhartig / DHARMa

Diagnostics for HierArchical Regession Models
http://florianhartig.github.io/DHARMa/
200 stars 21 forks source link

could not find function "ensureDHARMa" #406

Open Razorwing14 opened 2 months ago

Razorwing14 commented 2 months ago

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?