Christophe Dervieux

Results 1378 comments of Christophe Dervieux

Maybe we could try for a next version to improve / fix / rethink all the path interaction. I feel this is a larger work as it seems we keep...

@yihui as reported in https://github.com/rstudio/rticles/issues/528 this in fact has a big impact on vignettes. I believe when vignettes are build, `output_dir()` is set https://github.com/yihui/knitr/blob/master/R/utils-vignettes.R#L64-L68 This follows a fix you made...

> It sounds like the problem should affect all PDF vignettes that contain plots? If it is such a serious problem, I wonder why we didn't receive more reports. Yes...

This seems like a good idea. I wonder what it could break in other tools pipeline doing this 🤔 (also having Quarto in mind) But is renaming the `*.knit.md` ?...

> If we choose to render the exact same input file multiple times in parallel (e.g. with different params), we would run into the same interference again. Ok - I...

Probably. I wonder how much we rely on the stem for the input file. Like `myFile.Rmd` -> using `myFile` for a lot of intermediate resource. but we could probably track...

> `png(file = "test.pdf")` You saving to `png()` using a `.pdf` extension 🤔 Did you try `png("test.png")` or `pdf("test.pdf")` ?

> dev.off() would show Error: Error in dev.off() : cannot shut down device 1 (the null device) "test.pdf" file has been generated, but when I open it, it shows “The...

This has been now generalized by the PR #1835 but it did not fix this specific issue. folding is still apply also on the output code chunk if it has...

Thanks @atusy ! Class is `foldable` though, isn't it ? Documentation is here: https://bookdown.org/yihui/rmarkdown-cookbook/fold-show.html