Package: apsimR Title: APSIM Next Generation as a Contract-Emitting Analysis Member Version: 0.3.2.9000 Authors@R: person("Max", "Moldovan", , "max.moldovan@adelaide.edu.au", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0001-9680-8474")) Description: A typed, server-capable R interface to APSIM Next Generation, the process-based agricultural systems simulator. Drives the simulator for prediction over scenario designs, mechanism-parameter estimation, parameter calibration against observations (a bounded optimiser, or an iterative ensemble smoother when 'PESTO' is present), global sensitivity analysis (Morris and Sobol), Gaussian-process emulation with leave-one-out diagnostics, validation against observations (goodness-of-fit metrics and a typed verdict), and the generation of known-causal-structure datasets for testing causal-inference methods, and returns results as a versioned, provenance-complete 'apsim_manifest' object that is emitted natively into the shared orchestra manifest contract, so simulator output composes directly with downstream calibration, uncertainty-quantification and causal-inference tools; an ensemble inversion additionally bridges to a 'PESTO' ensemble manifest. Execution degrades gracefully: every entry point abstains with a typed reason when the simulator or its runtime is absent. License: MIT + file LICENSE URL: https://github.com/max578/apsimR BugReports: https://github.com/max578/apsimR/issues Depends: R (>= 4.1.0) Imports: DBI, digest, jsonlite, lhs, processx, RSQLite, S7, sensitivity, stats, tools, utils Suggests: ggplot2, knitr, optimix (>= 0.1.0), PESTO (>= 0.6.0), rmarkdown, testthat (>= 3.0.0) Remotes: max578/PESTO VignetteBuilder: knitr Config/testthat/edition: 3 Encoding: UTF-8 Language: en-AU Roxygen: list(markdown = TRUE) SystemRequirements: APSIM Next Generation (>= 2024.1) and the .NET 8.0 Runtime, for the bundled 'Models' and 'apsim-server' executables. The package builds, installs and checks without them; entry points that need the simulator abstain when it is absent. Config/roxygen2/version: 8.1.0 Config/pak/sysreqs: cmake make libicu-dev libuv1-dev zlib1g-dev Repository: https://max578.r-universe.dev Date/Publication: 2026-10-15 23:00:52 UTC RemoteUrl: https://github.com/max578/apsimR RemoteRef: main RemoteSha: e8e953a4992f8dabe204437faca530647f06fc64 NeedsCompilation: no Packaged: 2026-10-15 23:25:51 UTC; root Author: Max Moldovan [aut, cre, cph] (ORCID: ) Maintainer: Max Moldovan