From 7c1ac472f20b6026bb05e7e15f97601817580f8e Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Wed, 11 Dec 2024 14:53:01 +0100 Subject: [PATCH] fix(sessions): :bug: the output is a message, so need to set message to true --- sessions/stats-analyses-basic.qmd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sessions/stats-analyses-basic.qmd b/sessions/stats-analyses-basic.qmd index 10a5315..ee7709a 100644 --- a/sessions/stats-analyses-basic.qmd +++ b/sessions/stats-analyses-basic.qmd @@ -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") @@ -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") |> @@ -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