James J Balamuta
James J Balamuta
So, we can use this to determine the asis chunk: ```regex asis.*?,.*?directions[[:space:]]?=[[:space:]]?[tT]?[rR]?[uU]?[eE]? ``` And we can force remove in the `r` chunk with: ```regex ,?[[:space:]]?directions[[:space:]]?=[[:space:]]?[tT]?[rR]?[uU]?[eE]? ```
> As of now, can I include R code only in *-assign.Rmd but not in *-sol.Rmd? If a code chunk is marked by: - `solution = TRUE`, only display in...
@inmybrain unfortunately, no. The `directions=` option is only supported under `asis`.
@inmybrain not until the weekend. My mind is on a paper deadline.
> Assuming the user is working in RStudio, could you somehow utilize the Viewer window? Yes. This is possible. Though, we add a dependency on the `rstudioapi` package. The approach...
@daviddalpiaz let's aim to talk more in-depth about this during our meeting on Friday.
An update of sorts a bit later than next weekend ;) First, thanks @kylebutts for mentioning the `pre-render` portion. That did the trick! I wrote a quick [R script]( https://github.com/coatless-r-n-d/quarto-webr-in-altdoc/blob/main/altdoc/panelize-code-cells-for-quarto-webr.R)...
@etiennebacher wrote a brief vignette on the repo itself. I'd like to tweak at least [the line I highlighted](https://github.com/etiennebacher/altdoc/blob/e53e1326afbca19c77e79377bcf5fc8724a47992/R/rd2qmd.R#L69) since it shouldn't be setting things with rmarkdown style options. ---...
Out of pure curiosity, are there any suggestions for how I can proceed with avoiding the error? It seems like one suggestion is to remove the `window.amd` and reattach it...
Has any movement happened on this? @jcheng5