Collecting dependencies here gives a spurious warning; e.g.
packrat:::fileDependencies("~/scratch/test.Rmd")
Warning in get_engine(options$engine) :
Unknown language engine 'unknown' (must be registered via knit_engines$set()).
[1] "rmarkdown"
We should suppress these warnings, since the "fake" render done by Packrat is done only to collect dependencies from R code chunks; custom engines are otherwise ignored.
For example, with the document:
We should suppress these warnings, since the "fake" render done by Packrat is done only to collect dependencies from R code chunks; custom engines are otherwise ignored.