|
for (ii in seq_along(object@options)) { |
|
option <- object@options[[ii]] |
|
option_strings <- c(option_strings, option@short_flag) |
|
option_strings <- c(option_strings, option@long_flag) |
|
if (option@action == "store") { |
|
n_arguments <- c(n_arguments, 1, 1) |
|
} else { |
|
n_arguments <- c(n_arguments, 0, 0) |
|
} |
|
} |
In the above code, line 634 should be
if (!option@action %in% c("store_true", "store_false")) {