Thin wrapper around report that fixes format = "docx".
Arguments
- object
An energyRt S4 object:
technology,repository,model, or solvedscenario.- ...
Arguments forwarded to
levcost(whenlevcost = NULLand levcost parameters are provided) and/or tormarkdown::render(). Knownlevcostparameter names are intercepted automatically; everything else is passed to the renderer.The
scenariomethod additionally acceptsrun(character orNULL): the run id to report, as listed byscenario_runs("<solve>"or"<variant>/<solve>"). The defaultNULLreports the active run; a different run is read into a local copy, so the caller's scenario keeps its active run. It also acceptsverify(logical, defaultTRUE): include theverify_solutionchecks section. For a whole-scenario report,levcost = TRUEadds an ex-post levelized-cost table vialevcost(scenario).The model, repository and scenario methods accept branding arguments:
logos(character vector of image paths rendered as a banner row; default frommisc$logos, then the scalarmisc$logo/misc$image– a scenario shows its model's logos first, then its own), the model methodfigure(an optional half-page hero figure, defaultmisc$figure), and the scenario methodbadges(small property-indicator images, defaultmisc$badges). Branding content enters the render key, so a changed logo re-renders an otherwise up-to-date report.
