From d021b4e630d6cda38c2877be09707900a8883694 Mon Sep 17 00:00:00 2001 From: Dony Unardi Date: Thu, 22 Aug 2024 16:48:08 -0700 Subject: [PATCH] set eval to false for shiny code --- vignettes/qenv.Rmd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vignettes/qenv.Rmd b/vignettes/qenv.Rmd index 33398138..cc60cbcc 100644 --- a/vignettes/qenv.Rmd +++ b/vignettes/qenv.Rmd @@ -145,11 +145,10 @@ These functions can be seamlessly integrated into `shiny` applications to produc When employing a `qenv` to evaluate code, should an error occur, an object of type `qenv.error` is generated. This object can be utilized wherever a `qenv` object is used, alleviating the need for code alterations to handle these errors. Select the `error_option` in the example below to witness `qenv` error handling in action. -```{r} +```{r, eval=FALSE} library(shiny) -library(magrittr) # create an initial qenv with the data in -data_q <- qenv() %>% eval_code("iris_data <- iris") +data_q <- qenv() |> eval_code("iris_data <- iris") ui <- fluidPage( radioButtons(