Args: Extract Arguments From an Object of Class "ParsedArgs"

ArgsR Documentation

Extract Arguments From an Object of Class "ParsedArgs"

Description

Provides access to a copy of the arguments supplied to an object of class "ParsedArgs".

Usage

Args(x, type = c("original", "all", "trailingOnly"))

Arguments

x

an object of class "ParsedArgs".

type

a string naming the type of arguments to extract from x.

Details

Args extracts the arguments provided to an object of class "ParsedArgs". The types have the following meaning:

"original"

original arguments supplied when x was created

"all"

arguments after resolving all from-file arguments

"trailingOnly"

arguments supplied after the "skip" argument

Value

character vector containing the arguments supplied when x was created.


ArcadeAntics/essentials documentation built on Nov. 7, 2024, 4:33 p.m.