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

metacore fails if the value level is blank #64

Closed
statasaurus opened this issue Nov 17, 2022 · 1 comment
Closed

metacore fails if the value level is blank #64

statasaurus opened this issue Nov 17, 2022 · 1 comment
Assignees

Comments

@statasaurus
Copy link
Collaborator

(Can use the r/pharma workshop excel to test this)

@statasaurus statasaurus self-assigned this Nov 17, 2022
@kaz462
Copy link
Contributor

kaz462 commented Nov 21, 2022

Thanks, @statasaurus
This issue is from spec_type_to_derivations:
ls_derivations %>% reduce(bind_rows) - cannot combine Variables$dataset <character> and ValueLevel$dataset <logical> due to different column types, because current blank columns are read as "logical" by default.

Potential resolution:
update read_all_sheets by adding col_types in read_excel(..., col_types = "text")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants