Skip to content

argparse v2.1.5

Compare
Choose a tag to compare
@trevorld trevorld released this 20 Apr 21:24
· 15 commits to master since this release
  • add_argument now uses as.logical() logic to cast variables
    to logical values if type = "logical" and action = "store" or action = "append"
    instead of using Python's bool() logic (#39).

    • We throw an error if we would get an NA by coercion.
    • We no longer throw a warning when using type = "logical" and action = "store"
      suggesting users instead use action = "store_true" or action = "store_false".