Christophe Dervieux
Christophe Dervieux
This is a weird behavior for sure. But this comes from below knitr, from the `evaluate` 📦 Here is the reproducible example from the "weird" parsing behavior, and so the...
Ok it happens that `#line` is a specific directive in base R Look at `?srcfile` So having a `#line` will have a specific behavior in the R code parsing then...
> But I'm still unclear why the same code does not cause any problems when running within the RStudio environment (by clicking the green arrow on the code chunk) but...
I also discovered it while investigating this issue. Here is the most clearer meaning I found about it in R journal about **Source References** https://journal.r-project.org/archive/2010-2/RJournal_2010-2_Murdoch.pdf > The #line directive In...
Note: This would be interested to add as opt in element for our potential future format based on bootstap 4.
Note: This could also help with https://github.com/rstudio/rmarkdown/issues/1571 for a TOC on mobile that is more usable.
Thanks for the feature request! We'll consider this in a next release. If anyone wants to help, please submit a PR. Currently, as a workaround you would need to use...
I believe this is related to https://github.com/rstudio/rmarkdown/issues/1453 Some formats based on rmarkdown already contains possibility of folding output. See for example [the minidown package](https://minidown.atusy.net/#results-folding). regarding teaching, learnr can be run...
I may have misunderstood your issue but did you already try the `file` type paramater ? It will render a to a shiny [`fileInput`](https://shiny.rstudio.com/reference/shiny/latest/fileInput.html) and offer a window to browse......
A bit of context an explanation about this issues. There is a special handling in the shiny app for params selection https://github.com/rstudio/rmarkdown/blob/0af6b3556adf6e393b2da23c66c695724ea7bd2d/R/params.R#L413-L424 This means that when the input return NULL...