deployDoc | R Documentation |
Deploys a single R Markdown, Quarto document, or other file (e.g. .html
or
.pdf
).
When deploying an .Rmd
, .Qmd
, or .html
, deployDoc()
will attempt to
automatically discover dependencies using rmarkdown::find_external_resources()
,
and include an .Rprofile
if present. If you find that the document is
missing dependencies, either specify the dependencies explicitly in the
document (see rmarkdown::find_external_resources()
for details), or call
deployApp()
directly and specify your own file list in appFiles
.
deployDoc(doc, ..., logLevel = c("normal", "quiet", "verbose"))
doc |
Path to the document to deploy. |
... |
Additional arguments to |
logLevel |
One of |
Other Deployment functions:
applications()
,
deployAPI()
,
deployApp()
,
deploySite()
,
deployTFModel()
## Not run:
deployDoc("my-report.Rmd")
deployDoc("static-file.html")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.