R/arguments.R

parse_arguments

Parse Command Line Arguments

Description

Parse command line arguments of the form --key=value and --key value. The values are assumed to be valid yaml and will be converted using yaml.load().

Usage

 
parse_arguments(arguments = NULL) 

Arguments

Arguments Description
arguments A vector of command line arguments. When NULL (the default), the command line arguments received by the current R process are used.