We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0827f2c commit bae2a96Copy full SHA for bae2a96
r/src/vctr_builder_base.h
@@ -138,10 +138,11 @@ struct VctrBuilder {
138
SEXP schema_xptr = PROTECT(
139
R_MakeExternalPtr(const_cast<ArrowSchema*>(schema_), R_NilValue, R_NilValue));
140
Rf_setAttrib(schema_xptr, R_ClassSymbol, nanoarrow_cls_schema);
141
+ SEXP ptype_sexp = PROTECT(GetPtype());
142
- SEXP call = PROTECT(Rf_lang2(fun, schema_xptr));
143
+ SEXP call = PROTECT(Rf_lang3(fun, schema_xptr, ptype_sexp));
144
Rf_eval(call, nanoarrow_ns_pkg);
- UNPROTECT(3);
145
+ UNPROTECT(4);
146
}
147
};
148
0 commit comments