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

Support nonstandard representations? #27

Closed
krlmlr opened this issue Oct 24, 2016 · 3 comments
Closed

Support nonstandard representations? #27

krlmlr opened this issue Oct 24, 2016 · 3 comments

Comments

@krlmlr
Copy link
Member

krlmlr commented Oct 24, 2016

  • POSIXlt (list of 11, each element has length n)
  • intervals (n x 2 matrix)
  • S4 classes
  • ...
@edzer
Copy link

edzer commented Oct 24, 2016

  • list-column with geometries, as in sf and in PostGIS tables

@hadley
Copy link
Member

hadley commented Dec 14, 2016

I think part of vctrs will be defining a "standard" representation to support. I suspect objects that "lie" about their length (like POSIXlt) will not qualify.

I think we'll need a base class (like "vctr"), and contract about how vctr methods handle attributes, and lists of generics that you need to provide methods for giving desired behaviours.

@hadley
Copy link
Member

hadley commented Aug 16, 2018

Now implemented :)

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

3 participants