Skip to content

Commit 19ceac5

Browse files
committed
shorten NA warning and add vdiffr tests for NA draws
1 parent 1f3d4ce commit 19ceac5

4 files changed

Lines changed: 270 additions & 1 deletion

File tree

R/helpers-mcmc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ prepare_mcmc_array <- function(x,
3030
}
3131
if (anyNA(x)) {
3232
warn(
33-
"NAs were found in 'x'. `prepare_mcmc_array()` does not remove them; some plots may render with missing values dropped, while summary functions (e.g. intervals, densities, diagnostics) may produce misleading results or error. Consider removing NAs before plotting or summarizing."
33+
"NAs found in 'x'. These are passed through as-is and may affect the resulting plots."
3434
)
3535
}
3636

0 commit comments

Comments
 (0)