Renamed functions, kept as thin aliases that warn once per session and forward. Removed before 1.0.
Usage
write_script(object, solver.dir = NULL, solver = NULL, ...)
plot_map(object, ...)
plot_heatmap(object, ...)
plot_trade_map(object, ...)
plot_trade_network(object, ...)
plot_share_frontier(object, ...)
plot_geoscale(
object,
type = c("map", "stack", "icicle"),
geoframe = NULL,
view = "cabinet",
direction = "down",
geoscale = NULL,
...
)
set_gdxlib_path(path = NULL)
get_gdxlib_path()Arguments
- object, ...
Passed to the renamed function.
- solver.dir, solver
The
write_model()arguments.- type, geoframe, view, direction, geoscale
The former
plot_geoscale()arguments.- path
The former
set_gdxlib_path()argument.
Details
The figure functions that return a ggplot object are named gg_*; the
former plot_* names forward to them. plot_geoscale() drew a model's
geoscale and has no gg_ successor in energyRt: call
geoscales::gg_geoscale() on getGeoscale(object) instead, with
type = "map", "stack" or "icicle".
write_script() is write_model(), named after the stage it performs and
after the .write_model_*() backends it dispatches to.
set_gdxlib_path() / get_gdxlib_path() are deprecated without a
successor. GDX input/output goes through the gamstransfer package, which
reads and writes in-process, so there is no shared library to locate and
nothing in energyRt reads the path. The GDX route is chosen by the solver
spec (export_format / import_format = "gdx"), not by this setting.
Use set_gams_path() to pick between installed GAMS versions.
