Skip to content

Add gt to DESCRIPTION and drop family from parsnip fit() calls - #567

Open
prawalpokharel wants to merge 1 commit into
OpenIntroStat:mainfrom
prawalpokharel:fix-build-563
Open

prawalpokharel wants to merge 1 commit into
OpenIntroStat:mainfrom
prawalpokharel:fix-build-563

Conversation

@prawalpokharel

Copy link
Copy Markdown

Closes #563.

  • DESCRIPTION: adds gt to Imports. It is used by inference-applications.qmd.
  • parsnip calls: removes family = "binomial" from the five parsnip fit() calls, four in model-logistic.qmd and one in inf-model-logistic.qmd. The glm engine for logistic_reg() is already binomial, and parsnip 1.6 rejects the extra argument. The plain glm(..., family = "binomial") calls are unchanged.

How I checked. I rendered each chapter on its own, twice, with Quarto 1.4.553 in clean Ubuntu containers. One had R 4.5.2 with CRAN as of 2026-03-31 (parsnip 1.4.1). The other had R 4.6.2 with current CRAN (parsnip 1.6.1).

  • Both logistic chapters render under both setups, and every number they produce matches the committed _freeze.
  • inference-applications renders once gt is installed.

Because the two logistic chapters' .qmd files change, this PR's build will re-execute them.

@netlify

netlify Bot commented Nov 18, 2026

Copy link
Copy Markdown

👷 Deploy request for openintro-ims pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit d2a7ebf

@netlify

netlify Bot commented Nov 18, 2026

Copy link
Copy Markdown

👷 Deploy request for openintro-ims1 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit d2a7ebf

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.

Chapters 9, 23 and 26 fail to render from DESCRIPTION (gt missing, parsnip 1.6)

1 participant