Not able to produce paged pdf document when trying to render html_paged rmarkdown document using parameters

This is only to tell the Knit button in the RStudio IDE to use pagedown::chrome_print to render the document.

You can call pagedown::chrome_print on a Rmd file

pagedown::chrome_print("reprex.Rmd")

but currently it don't accept parametrized report.

You would be able to do the same at the command line for parametrized report if only pagedown::chrome_print would take params to render. This is a feature request. For now, you need to do a two step process I think

Try something like

output <- rmarkdown::render("reprex.Rmd", params=list(test="html"))
pagedown::chrome_print(output)
1 Like