init_postp | R Documentation |
Creates a postp
folder at the specified path and adds two empty
files: structure.json
and functions.R
.
init_postp(path, verbose = TRUE)
path |
[mandatory] |
verbose |
[optional] (logical) Display messages (default: |
The structure.json
file is initialized with a default JSON structure:
"default": null
. This file is intended for mapping variables to
post-processing functions. The functions.R
file is created with a
placeholder comment indicating where to define the R functions for
post-processing. If the postp
folder already exists, an error will
be thrown to prevent overwriting existing files.
No return value, called for side effects.
# Example: Initialize post-processing files in the database directory
## Not run:
init_postp("path/to/db")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.