View source: R/add_subprotocols.R
| add_one_subprotocol | R Documentation |
The function renders the sub-protocol to
bookdown::markdown_document2() and
saves the resulting md file (and any associated media and data files) in a
subfolder of the directory of the project-specific protocol.
This function should normally not be called directly.
Use add_subprotocols() instead.
add_one_subprotocol(
code_subprotocol,
version_number,
params2 = NULL,
code_mainprotocol,
fetch_remote = TRUE
)
code_subprotocol |
Character string giving the protocol code from
which a sub-protocol will be made (usually a |
version_number |
Character string with format |
params2 |
A list of parameter key-value pairs. |
code_mainprotocol |
Character string giving the protocol code for the main protocol |
fetch_remote |
Whether or not to fetch the remote. Default TRUE. |
Other creation:
add_dependencies(),
add_subprotocols(),
create_protocol(),
insert_protocolsection(),
update_protocol(),
update_version_number()
## Not run:
add_subprotocols(code_mainprotocol = "spp-999-en")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.