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

Error when using multiple tags for a single entry. #30

Open
akirosingh opened this issue Mar 25, 2021 · 2 comments
Open

Error when using multiple tags for a single entry. #30

akirosingh opened this issue Mar 25, 2021 · 2 comments

Comments

@akirosingh
Copy link

akirosingh commented Mar 25, 2021

I was running into this error using the get_time_entries function from the togglr package.

Error: Internal error in vec_assign(): value should have been recycled to fit x.

I've been able to avoid the error by making sure that there are only one or no tags assigned to the time entries. This isn't a major issue, I just wanted to make sure someone else was able to find out the cause if they were troubleshooting.

@statnmap
Copy link
Member

I do have time entries with multiple tags and I do not get this error.
I am using

  • {vctrs} 0.3.6
  • {tibble} 3.0.5 or {tibble} 3.1.0
  • {dplyr} 1.0.3 or {dplyr} 1.0.5

Can you check your versions ?

@akirosingh
Copy link
Author

My package versions are vctrs 0.3.6 tibble 3.1.0 dplyr 1.0.5.

<error/rlang_error>
Internal error in vec_assign(): value should have been recycled to fit x.
Backtrace:

  1. ├─togglr::get_time_entries(since = Day1)
  2. │ └─%>%(...)
  3. ├─dplyr::slice(., nrow(.):1)
  4. ├─dplyr::select(...)
  5. ├─dplyr::left_join(., get_project_id_and_name(), by = c(pid = "id"))
  6. ├─dplyr::mutate(...)
  7. └─purrr::map_df(., invisible)
  8. └─dplyr::bind_rows(res, .id = .id)
  9. └─vctrs::vec_rbind(!!!dots, .names_to = .id)
    
  10.   └─(function () ...
    

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