Skip to content

Fall back to model residuals for unavailable simulations - #1047

Open
M-Colley wants to merge 1 commit into
easystats:mainfrom
M-Colley:issue-794-qq-fallback
Open

M-Colley wants to merge 1 commit into
easystats:mainfrom
M-Colley:issue-794-qq-fallback

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Summary

When the default residual simulation is unavailable, check_model() can use model residuals for the Q–Q plot. The alert identifies the fallback. An explicit request for simulated residuals keeps the simulation-only behavior.

Fixes #794.

Evidence

  • The reported ordinal GAM now renders a Q–Q plot. Its points match the explicit residual_type = "normal" result.
  • All eight new assertions passed without warnings. The related suite passed 206 assertions, with 19 optional skips and the same two existing warnings.
  • The structural package check passed with tests run separately and examples, vignettes, and the manual excluded.

I used Codex to prepare and test this patch.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot check model from mgcv and categorical outcome

1 participant