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

Assigning multiple main contributors to a single role via ... doesn't work #59

Closed
arnaudgallou opened this issue Dec 29, 2023 · 0 comments · Fixed by #60
Closed

Assigning multiple main contributors to a single role via ... doesn't work #59

arnaudgallou opened this issue Dec 29, 2023 · 0 comments · Fixed by #60
Labels
bug Something isn't working Plume Plume related issue

Comments

@arnaudgallou
Copy link
Owner

aut <- Plume$new(encyclopedists)
aut$set_main_contributors(writing = c(3, 4))
aut$get_plume() |> 
  dplyr::select(id, role) |> 
  tidyr::unnest(role)
#> # A tibble: 8 × 3
#>      id role                     contributor_rank
#>   <int> <chr>                               <int>
#> 1     1 Supervision                            NA
#> 2     1 Writing - original draft               NA
#> 3     2 <NA>                                   NA
#> 4     2 Writing - original draft               NA
#> 5     3 <NA>                                   NA
#> 6     3 Writing - original draft               NA
#> 7     4 Supervision                            NA
#> 8     4 Writing - original draft               NA

This is because the method will name each vector element dynamically in this case.

@arnaudgallou arnaudgallou added bug Something isn't working Plume Plume related issue labels Dec 29, 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 Plume Plume related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant