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 “Can’t find vctrs or base methods for concatenation” when calling tribble with an object of class Period #770

Closed
mbeer opened this issue May 7, 2020 · 2 comments

Comments

@mbeer
Copy link

mbeer commented May 7, 2020

When I try to build a tibble using tribble() containing a column of class Period, the following error occurs:

library(tibble)
library(lubridate)
tribble(~period, days(1))
#> Error: Can't find vctrs or base methods for concatenation.
#> vctrs methods must be implemented for class `Period`.
#> See <https://vctrs.r-lib.org/articles/s3-vector.html>.

I use tibble 3.0.1 and lubridate 1.7.8. The error did not occur with earlier versions of these packages.

@mbeer mbeer closed this as completed May 14, 2020
@mbeer
Copy link
Author

mbeer commented May 14, 2020

The issue is fixed, probably thanks to vctrs version 0.3.0

@github-actions
Copy link
Contributor

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

@github-actions github-actions bot locked and limited conversation to collaborators May 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant