Open pachevalier opened 2 years ago
I had the same issue. But the doc reads:
An R Markdown output format object to be passed to rmarkdown::render().
So I guessed that the parameter to use was output_format
like so:
rmarkdown::render(input = "<your-filename>.Rmd", output_format = html_gouv())
This command seems to work well but I have another proxy error when the script tries to download a font called Spectral so the command crashed.
In the documentation of
html_gouv()
, it is written that it can be passed as a parameter tormarkdown:render()
https://github.com/spyrales/gouvdown/blob/master/man/html_gouv.Rd#L29. Which parameter is it ?Should we have the following syntax ?
render(input = "index.Rmd", params = html_gouv(logo = "gouvernement"))
It would be useful to add an example.