I think the post at https://rmflight.github.io/post/docopt-numeric-options/ is still valid. I have to do as.integer or similar conversion to have proper types. I wish they could be infered by the library