mock_file | R Documentation |
Mock file
mock_file(path, payload)
path |
(character) a file path. required |
payload |
(character) string to be written to the file given
at |
a list with S3 class mock_file
mock_file(path = tempfile(), payload = "{\"foo\": \"bar\"}")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.