Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--help fails when length(info) > 1 #59

Closed
jmbarbone opened this issue May 2, 2023 · 0 comments · Fixed by #62
Closed

--help fails when length(info) > 1 #59

jmbarbone opened this issue May 2, 2023 · 0 comments · Fixed by #62
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jmbarbone
Copy link
Owner

probably just needs a paste(collapse)

library(scribe)

ca <- command_args("--help")
ca$add_argument("bad", info = c("one", "two"))
ca$parse()
#> Error in apply(lines, 1L, format): dim(X) must have a positive length

Created on 2023-05-01 with reprex v2.0.2

@jmbarbone jmbarbone added the bug Something isn't working label May 2, 2023
@jmbarbone jmbarbone added this to the CRAN v0.2.0 milestone May 2, 2023
@jmbarbone jmbarbone self-assigned this May 2, 2023
@jmbarbone jmbarbone changed the title --help fails when length(info) > 51 --help fails when length(info) > 1 May 4, 2023
jmbarbone added a commit that referenced this issue May 6, 2023
jmbarbone added a commit that referenced this issue May 6, 2023
jmbarbone added a commit that referenced this issue May 6, 2023
@jmbarbone jmbarbone mentioned this issue May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant