Learn R Programming

antaresEditObject (version 0.9.0)

variant-commands: Get API commands generated

Description

Get API commands generated

Usage

getVariantCommands(
  last = NULL,
  actions = NULL,
  opts = antaresRead::simOptions()
)

writeVariantCommands( path, last = NULL, actions = NULL, ..., opts = antaresRead::simOptions() )

Value

a list of commands to edit a variant

Arguments

last

Return the last command generated if TRUE, or a numeric for returning a specified number of commands. Default is to return all commands.

actions

A character vector of actions to return.

opts

List of simulation parameters returned by the function antaresRead::setSimulationPath()

path

Path to the JSON file to write on disk.

...

Additional arguments passed to jsonlite::write_json()