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

set_creator_orcids sometimes inadvertently provides errors/warnings #169

Closed
RobLBaker opened this issue Nov 7, 2024 · 0 comments · Fixed by #170
Closed

set_creator_orcids sometimes inadvertently provides errors/warnings #169

RobLBaker opened this issue Nov 7, 2024 · 0 comments · Fixed by #170
Assignees
Labels
bug Something isn't working

Comments

@RobLBaker
Copy link
Member

> EML::eml_validate(meta)
[1] TRUE
attr(,"errors")
character(0)
> creator_orcids <- c("0000-0002-6635-1490",NA,NA,"0009-0004-8436-4975",NA)
> metadata_file_out <- EMLeditor::set_creator_orcids(metadata_file_out, creator_orcids)
Error in `tibble::tibble()`:
! Tibble columns must have compatible sizes.
• Size 5: Existing data.
• Size 2: Column at position 2.
ℹ Only values of size one are recycled.
Run `rlang::last_trace()` to see where the error occurred.
> creator_orcids <- c("0000-0002-6635-1490","NA","NA","0009-0004-8436-4975","NA")
> metadata_file_out <- EMLeditor::set_creator_orcids(metadata_file_out, creator_orcids)
It appears some authors do not have orcids.
Please specify these as NA (without quotes).
@RobLBaker RobLBaker added the bug Something isn't working label Nov 7, 2024
@RobLBaker RobLBaker self-assigned this Nov 7, 2024
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