Hello I would like to know how I can render a .R file so that all intermediary .Rmd and other temporary things are generated in a specific location ?
For instance I see a spin.Rmd and temporary html being generated.
I is annoying because
I use servr::rmdv2 to render continuously all Rmd from a directory and the temp Rmd created ‘interfere’
I’d like to be able to run render(‘my file.R’) from serveral processes with different arguments so I do not want things to clash
I just use rmarkdown::render("my_file.R")
This will create a my_file.spin.Rmd intermediary file, I think render calls knitr::spin under the hood to transform the R file into a Rmd file