| Title: | Decision-Oriented Analysis Core for APSIM Next Generation Outputs |
| Version: | 0.1.0 |
| Description: | Provides a low-level interface for analysing APSIM Next Generation simulation outputs to support structured decision-making workflows. |
| License: | MIT + file LICENSE |
| Encoding: | UTF-8 |
| Depends: | R (≥ 4.1.0) |
| Suggests: | testthat (≥ 3.0.0) |
| Config/testthat/edition: | 3 |
| URL: | https://core.decide.rapsimng.bangyou.me/, https://github.com/byzheng/rapsimng.decide.core |
| BugReports: | https://github.com/byzheng/rapsimng.decide.core/issues |
| Config/roxygen2/version: | 8.0.0 |
| NeedsCompilation: | no |
| Packaged: | 2026-08-05 01:16:10 UTC; zhe00a |
| Author: | Bangou Zheng [aut, cre] |
| Maintainer: | Bangou Zheng <zheng.bangyou@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2026-08-09 08:40:08 UTC |
Build output lines for a decision report document
Description
Converts a rapsimng_decide_document object into a character vector that can
be written to disk. A document prefix is written first when present, then
each non-NULL section body separated by blank lines.
Usage
document_lines(document)
Arguments
document |
A report object with class |
Value
A character vector containing the ordered document lines.
Write a decision report document to disk
Description
Serialises a rapsimng_decide_document with document_lines() and writes the
resulting text file to path.
Usage
write_document(document, path, overwrite = FALSE)
Arguments
document |
A report object with class |
path |
A single output file path. |
overwrite |
Logical scalar indicating whether an existing file may be replaced. |
Value
Invisibly returns path.