odin_options | R Documentation |
For lower-level odin functions odin_parse, odin_validate we only accept a list of options rather than individually named options.
odin_options(verbose = NULL, target = NULL, workdir = NULL,
validate = NULL, pretty = NULL, skip_cache = NULL,
compiler_warnings = NULL, no_check_unused_equations = NULL,
rewrite_dims = NULL, rewrite_constants = NULL, substitutions = NULL,
options = NULL)
verbose |
Logical scalar indicating if the compilation should
be verbose. Defaults to the value of the option
|
target |
Compilation target. Options are "c" and "r",
defaulting to the option |
workdir |
Directory to use for any generated files. This is
only relevant for the "c" target. Defaults to the value of the
option |
validate |
Validate the model's intermediate representation
against the included schema. Normally this is not needed and is
intended primarily for development use. Defaults to the value
of the option |
pretty |
Pretty-print the model's intermediate
representation. Normally this is not needed and is intended
primarily for development use. Defaults to the value of the
option |
skip_cache |
Skip odin's cache. This might be useful if the
model appears not to compile when you would expect it to.
Hopefully this will not be needed often. Defaults to the option
|
compiler_warnings |
Previously this attempted detection of compiler warnings (with some degree of success), but is currently ignored. This may become supported again in a future version depending on underlying support in pkgbuild. |
no_check_unused_equations |
If |
rewrite_dims |
Logical, indicating if odin should try and
rewrite your model dimensions (if using arrays). If |
rewrite_constants |
Logical, indicating if odin should try
and rewrite all constant scalars. This is a superset of
|
substitutions |
Optionally, a list of values to substitute
into model specification as constants, even though they are
declared as |
options |
Named list of options. If provided, then all other options are ignored. |
A list of parameters, of class odin_options
odin_options()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.