romainfrancois commented on a change in pull request #8341:
URL: https://github.com/apache/arrow/pull/8341#discussion_r500779786
##########
File path: r/src/array_to_vector.cpp
##########
@@ -960,6 +960,18 @@ bool ArraysCanFitInteger(ArrayVector arrays) {
return all_can_fit;
}
+bool GetBoolOption(const std::string& name, bool default_) {
+ SEXP getOption = Rf_install("getOption");
+ cpp11::sexp call = Rf_lang2(getOption, Rf_mkString(name.c_str()));
+ cpp11::sexp res = Rf_eval(call, R_BaseEnv);
+ Rf_PrintValue(res);
Review comment:
oops
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]