Description Usage Arguments Value Note Examples
Encrypt and password protect an HTML document.
1 2 3 4 5 6 7 8 9 10 |
input |
Path to an R Markdown or HTML file. |
password |
Private password to unlock file. If not provided, you will be asked to supply a password by a prompt if you are working from an interactive session. |
hint |
Optional public password hint. |
output |
Override the name of the output file. |
style |
Object returned from |
bundle |
Logical. Should all of the decryption machinery and
dependencies be bundled into the HTML document? Default is |
minified |
Logical. Should minified versions of JavaScript dependencies
be included? Default is |
... |
Arguments passed on to |
input
, invisibly.
Using bundle = TRUE
only applies to bundling the
decryption machinery and dependencies for the document generated
by charm()
. It is still the users responsibility to decide on whether
input
is self-contained by passing self_contained = TRUE
to
rmarkdown::render()
using ...
, or by specifying
self_contained: true
in the YAML header of input
.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.