Add optional `type` argument to `arg` and `opt`
Open
enhancement
- Dominant language
- R
- Stars
- 13
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
At the moment, the type of an argument is `character` unless a value of another type is set as the default argument. Arguments that don’t have a default value cannot specify a type. This means that
1. The command line parser cannot check the type.
2. The user has to coerce the type manually as necessary.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.