You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chapters 9, 23 and 26 fail to render from DESCRIPTION (gt missing, parsnip 1.6) #563
Three chapters fail to render in a clean setup installed from DESCRIPTION, which is how build_book.yaml installs packages. All three are frozen, so the published book is fine, but an edit to any of them makes the CI re-execute it.
gt is missing from DESCRIPTION. inference-applications.qmd, line 91 (Chapter 23) calls library(gt), and a clean render stops with "there is no package called 'gt'". Adding gt to Imports fixes it.
parsnip 1.6.1 (current CRAN) errors on fit(..., family = "binomial") with "... must be empty. Problematic argument: family". parsnip 1.4.1 accepted it. This hits four logistic_reg() |> set_engine("glm") |> fit() calls in model-logistic.qmd (Chapter 9) and one in inf-model-logistic.qmd (Chapter 26). The glm engine already uses the binomial family, so the argument can be dropped. The plain glm(..., family = "binomial") calls are fine.
I rendered each chapter on its own, twice, with Quarto 1.4.553 in two clean Ubuntu containers: R 4.5.2 with CRAN as of 2026-03-31 (parsnip 1.4.1), and R 4.6.2 with current CRAN (parsnip 1.6.1). With family removed, Chapters 9 and 26 render in both, and every computed number matches the committed _freeze. The other chapters render and match too.
One thing to know before Chapter 23 is re-run: with gt installed it renders, but the inline p-value for the 16 item display comes out 0.114 in every fresh render, where the freeze has 0.102. The conclusion in the text is the same. I haven't found the cause.
Activity