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

rc_prep fails when there are no checkbox fields in the dataset #25

Open
aghaynes opened this issue Oct 30, 2023 · 0 comments
Open

rc_prep fails when there are no checkbox fields in the dataset #25

aghaynes opened this issue Oct 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@aghaynes
Copy link
Member

Add a check before this line to check for the presence of checkbox fields before running the multichoice_opts function.

https://github.com/CTU-Bern/redcaptools/blob/9aa98778c39e56026f1201077505b0a4fccb7f60/R/reformat.R#L108C12-L108C39

Also check singlechoice_opts in case dropdown, radio variables etc have not been used

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

No branches or pull requests

1 participant