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)
usms_workspacePath to USMs workspace (required)
metadata_filePath to metadata file (required if run_simulations = 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.
parallelLogical. Whether to run workflow in parallel.
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(...)