![](../logo.png)
Catch and interpret arguments for a R script
interpret_args.Rd
interpret_arg()
catch arguments through commandArgs()
and interpret them
to return a list of arguments for those that are of a "good shape".
Usage
interpret_args(x = commandArgs(trailingOnly = TRUE))
Examples
x = c(1, "x=2", "y='a=1'")
interpret_args(x)
#> [[1]]
#> [1] "1"
#>
#> $x
#> [1] "2"
#>
#> $y
#> [1] "'a=1'"
#>