tidyfun / tf

S3 classes and methods for tidy functional data
https://tidyfun.github.io/tf/
GNU Affero General Public License v3.0
6 stars 2 forks source link

more standards-compliant vctrs stuff & more tolerant concatenation #83

Closed fabian-s closed 4 months ago

fabian-s commented 4 months ago

see test-vec-cast and test-concatenation for examples. vec_ptype2 now implements a sensible (to me) class hierarchy, and vec_cast makes the conversions manageable.

basically: the common type for everything is (irregular) tfd, and if you try to concatenate objects with compatible (i.e. completely overlapping) domains this will always work -- to concatenate them:

@jeff-goldsmith would be great if you could take a look if you have time and let me know what you think. my hope is to get tf ready for CRAN by the end of next week.