argparse v2.1.5
-
add_argument
now usesas.logical()
logic to cast variables
to logical values iftype = "logical"
andaction = "store"
oraction = "append"
instead of using Python'sbool()
logic (#39).- We throw an error if we would get an NA by coercion.
- We no longer throw a warning when using
type = "logical"
andaction = "store"
suggesting users instead useaction = "store_true"
oraction = "store_false"
.