make.command.line.call: Make string with command line call from its individual...

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Make string with command line call from its individual components

Usage

1
2
make.command.line.call(main.command, options = NULL, flags = NULL,
  option.prefix = "--", option.separator = " ", flag.prefix = "--")

Arguments

main.command

String or vector of strings giving main part of command (e.g. "python test.py" or c("python", "test.py"))

options

Named vector or list giving options

flags

Vector giving flags to include.

option.prefix

String to preface all options. Defaults to "–"

option.separator

String to separate options form their values. Defaults to a single space.

flag.prefix

String to preface all flags. Defaults to "–"

Value

command string giving command line call


varitas documentation built on Nov. 14, 2020, 1:07 a.m.