Skip to content

Commit

Permalink
fix(sessions): 🐛 the output is a message, so need to set message to true
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 committed Dec 11, 2024
1 parent f56dfe7 commit 7c1ac47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sessions/stats-analyses-basic.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,8 @@ some nice features that we will use later on.

```{r recipes-without-formula}
#| filename: "doc/learning.qmd"
#| warning: true
#| message: true
recipe(lipidomics_wide) |>
update_role(metabolite_cholesterol, age, gender, new_role = "predictor") |>
update_role(class, new_role = "outcome")
Expand Down Expand Up @@ -752,6 +754,8 @@ variables. We can add this to the end of the recipe:

```{r recipes-with-step-normalize}
#| filename: "doc/learning.qmd"
#| warning: true
#| message: true
recipe(lipidomics_wide) |>
update_role(metabolite_cholesterol, age, gender, new_role = "predictor") |>
update_role(class, new_role = "outcome") |>
Expand Down Expand Up @@ -786,6 +790,8 @@ And test it out:

```{r use-create-recipe-specs-fn}
#| filename: "doc/learning.qmd"
#| warning: true
#| message: true
recipe_specs <- lipidomics_wide |>
create_recipe_spec(metabolite_cholesterol)
recipe_specs
Expand Down

0 comments on commit 7c1ac47

Please sign in to comment.