Open phaverty opened 6 years ago
Now that we have cSurv, the EAV round-trip could be simplified to just
clazz = class(x)[1] y = as.character(x) a = as(y, clazz)
where clazz goes in the YAML. Do we want that here, or is that something for an alternate backend?
We might also consider the less ambitious goal of doing the eav_encode and eav_decode functions with S3 dispatch rather than paste and findFunction.
Now that we have cSurv, the EAV round-trip could be simplified to just
clazz = class(x)[1] y = as.character(x) a = as(y, clazz)
where clazz goes in the YAML. Do we want that here, or is that something for an alternate backend?
We might also consider the less ambitious goal of doing the eav_encode and eav_decode functions with S3 dispatch rather than paste and findFunction.