R/configuration.R
Configuration.RdConfiguration class Encapsulates all configuration parameters for the package, with validation. The same object is used for all workflows (evaluation, export, plots), with workflow-specific validation methods.
stics_exePath to STICS executable (required if init_workspace = TRUE)
usms_workspacePath to USMs workspace (required if init_workspace = TRUE)
metadata_filePath to metadata file (required if init_workspace = TRUE)
eval_workspacePath to evaluation workspace (required)
output_dirPath to output directory for export workflow (required for export)
run_simulationsLogical. Whether to run simulations or just prepare the workspace.
init_workspaceLogical. Whether to initialize the evaluation workspace (run simulations, prepare metadata, etc.) or assume it's already set up.
parallelLogical. Whether to run simulations in parallel (only if init_workspace = TRUE).
verboseInteger. Verbosity level (0 = silent, 1 = info, 2 = debug).
coresInteger or NA. Number of CPU cores to use for parallel processing (only if parallel = TRUE). NA means auto-detect.
percentageNumeric. Percentage of simulations to consider for export and plots (between 0 and 100).
reference_versionCharacter or NULL. If specified, the version in the evaluation workspace to use as reference for export and plots. Must be present in the workspace.
speciesCharacter vector or NULL. If specified, only these species will be included in export and plots.
usmsCharacter vector or NULL. If specified, only these USMs will be included in export and plots.
var2excludeCharacter vector or NULL. If specified, these variables will be excluded from export and plots.
Configuration$new()Create a Configuration object. Values are validated against a declarative schema.
Configuration$new(...)