Options are ignored if default value is `NULL` or `NA`
Open
bug
- Dominant language
- R
- Stars
- 13
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
```
opt('p', 'plotfile', 'file to save plots to', NULL)
```
will always be `NULL`, even if specifying `-p something`
same for `NA`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the implementation of opt and reproduce the example with a NULL default, then repeat with an NA default and -p something. Trace how command-line values are compared with these defaults. Done means both defaults accept the supplied option value instead of always returning NULL or NA.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100