rm(list = ls())

Before rmarkdown 0.9.2, an error would occur:

Error in dir.exists: object 'resource_folder' not found

To repro:

devtools::install_version('rmarkdown', '0.9.2')

And run this document.

rm(list = ls())
  ui = basicPage('Hello world'), 
  server = function(input, output) {

This issue was fixed in https://github.com/rstudio/rmarkdown/pull/624, and again in https://github.com/rstudio/rmarkdown/commit/67eaa7aa6a.

Try the rmarkdown package in your browser

Any scripts or data that you put into this service are public.

rmarkdown documentation built on Feb. 19, 2021, 9:06 a.m.