From 06aef8f276c4ab5f980e6f42cf8d52e847c8f46b Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Fri, 2 Aug 2024 09:45:09 +0100 Subject: [PATCH] hotfix: more helpful message --- R/opts.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/opts.R b/R/opts.R index 11b65d929..b147f6d8e 100644 --- a/R/opts.R +++ b/R/opts.R @@ -960,7 +960,9 @@ apply_default_tolerance <- function(dist, default_tolerance, tolerance_set) { if (!is_constrained(dist)) { message( "Unconstrained distributon passed as a delay. ", - "Constraining with default tolerance ", default_tolerance + "Constraining with default tolerance ", default_tolerance, ".\n", + "To silence this message, specify delay distributions with `max` or ", + "`tolerance`." ) attr(dist, "tolerance") <- default_tolerance } else if (tolerance_set) {