Error in `lapply(text, glue_cmd, .envir = .envir)`:
! Could not evaluate cli `{}` expression: ` mtcars |> f…`.
Caused by error in `ggplot(filter(mtcars, mpg >= min_mpg), aes(cyl))`:
! could not find function "ggplot"
Type .Last.error to see the more details.
I think this might be related of the use of {glue} in the following line in "R/service-openai_gpt_queries.R":
Confirm setup
{gptstudio}
(pak::pak("MichelNivard/gptstudio")
) and tested if the problem remains.{reprex}
and{sessioninfo}
packages to be able to run this issue's code snippetpak::pak(c("reprex", "sessioninfo"))
.What happened?
While trying the "Comment your code" addin in the following selected text:
I got the error:
I think this might be related of the use of
{glue}
in the following line in "R/service-openai_gpt_queries.R":Looks like
glue()
is evaluating "{selection$value}". This might me related to the second problem present in #199Relevant log output
No response
Session info
Code of Conduct