args
should return base::args
instead of list(input, envir, ...)
; and output_file
should not exist.
args
## function (name)
## .Internal(args(name))
## <bytecode: 0x7fa623c87b28>
## <environment: namespace:base>
output_file
## Error in eval(expr, envir, enclos): object 'output_file' not found
Originally reported at https://github.com/rstudio/rmarkdown/issues/1124.