generate_dct_template {psyverse} | R Documentation |
DCT templates
Description
These functions can generate one or more empty DCT templates.
Usage
generate_dct_template(
prefix = paste(sample(letters, 4), collapse = ""),
output = NULL,
overwrite = FALSE,
createDirs = FALSE,
addComments = TRUE,
stopOnIllegalChars = FALSE
)
generate_dct_templates(
x,
outputDir = NULL,
createDirs = FALSE,
addComments = FALSE,
stopOnIllegalChars = FALSE
)
Arguments
prefix , x |
The prefix ( |
output , outputDir |
The filename or directory to which to write the templates. |
overwrite |
Whether to overwrite any existing files. |
createDirs |
Whether to recursively create the directories if the path
specified in |
addComments |
Whether to add comments to the DCT specification as extra explanation. |
stopOnIllegalChars |
DCT identifier prefixes can only contain upper- and lowercase letters and underscores. This argument specifies whether to remove illegal characters with a warning, or whether to throw an error (and stop) if illegal characters are found, |
Value
The DCT template(s), either invisibly (if output
or outputDir
is
specified) or visibly.
[Package psyverse version 0.2.6 Index]