create objects representing a CMD instruction

Cmd(exec = NA_character_, params = NA_character_, form = "exec")

Arguments

exec

character argument naming the executable

params

paramterer arguments

form

form to render the instruction to (exec or shell)

Value

An S4 object of class Cmd

Examples

toString(Cmd("R", "--vanilla"))
#> [1] "CMD [\"R\", \"--vanilla\"]"