From 22157841c87c540bd063688f0f07824754cf69df Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 30 Oct 2023 07:59:03 +0100 Subject: [PATCH] fix print --- R/simulate_residuals.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/simulate_residuals.R b/R/simulate_residuals.R index d1e920a3a..819c90bf9 100644 --- a/R/simulate_residuals.R +++ b/R/simulate_residuals.R @@ -48,11 +48,11 @@ print.performance_simres <- function(x, ...) { # DHARMa uses, but with an easystats style. For now we can just stick with # DHARMa's method. msg <- paste0( - "Simulated residuals from a model of class `", class(x$fittedModel), + "Simulated residuals from a model of class `", class(x$fittedModel)[1], "` based on ", x$nSim, " simulations. Use `check_residuals()` to check ", "uniformity of residuals. It is recommended to refer to `?DHARMa::simulateReisudals`", " and `vignette(\"DHARMa\")` for more information about different settings", - " in particular situations or for particular models." + " in particular situations or for particular models.\n" ) cat(insight::format_message(msg)) }