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
I have an rmarkdown file that uses the eval parameters in chunks to control which chunks get evaluated. The idea is for that specific application that the code envoking rmarkdown::render can control what chunks will be evaluated instead of the report itself in order to keep the login in the markdown file as small as possible.
Problem
When rsconnect::appDependencies() is invoked it evaluates the code in each eval parameter and thus producing a warning. These warnings are in particularly genereted during deployments to RStudio Connect. / shinyapps.io. Nothing breaks though.
Reproducible example
Create a file "test.Rmd" with a single chunk
```{r test, eval=show_chunk}
summary(cars)```
then:
> rsconnect::appDependencies()
Error in eval(x, envir = envir) : object 'show_chunk' not found
Context
I have an rmarkdown file that uses the
eval
parameters in chunks to control which chunks get evaluated. The idea is for that specific application that the code envokingrmarkdown::render
can control what chunks will be evaluated instead of the report itself in order to keep the login in the markdown file as small as possible.Problem
When
rsconnect::appDependencies()
is invoked it evaluates the code in each eval parameter and thus producing a warning. These warnings are in particularly genereted during deployments to RStudio Connect. / shinyapps.io. Nothing breaks though.Reproducible example
Create a file "test.Rmd" with a single chunk
then:
Here is an example of how it is used:
Potential solution
suppressWarnings
when evaluatingeval
, but this might have other unintented sideeffects.The text was updated successfully, but these errors were encountered: