Register Arrow extension types
Arguments
- data
Optional data to include in the extension type specification
- subclass
A subclass for the extension type specification. Extension methods will dispatch on this object.
- extension_name
An Arrow extension type name (e.g., arrow.r.vctrs)
- extension_spec
An extension specification inheriting from 'nanoarrow_extension_spec'.
Value
nanoarrow_extension_spec()
returns an object of class 'nanoarrow_extension_spec'.register_nanoarrow_extension()
returnsextension_spec
, invisibly.unregister_nanoarrow_extension()
returnsextension_name
, invisibly.resolve_nanoarrow_extension()
returns an object of class 'nanoarrow_extension_spec' or NULL if the extension type was not registered.