Skip to content

Commit

Permalink
another pending fix from #688
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMarvin committed Aug 12, 2023
1 parent b2b2aeb commit c8c894a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/openxlsx2_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ inline SEXP wrap(const std::vector<xml_col> &x) {
}

// Assign and return a dataframe
return Rcpp::wrap(Rcpp::DataFrame::create(
return Rcpp::wrap(
Rcpp::DataFrame::create(
Rcpp::Named("r") = r,
Rcpp::Named("row_r") = row_r,
Rcpp::Named("c_r") = c_r,
Expand All @@ -131,8 +132,9 @@ inline SEXP wrap(const std::vector<xml_col> &x) {
Rcpp::Named("f_ref") = f_ref,
Rcpp::Named("f_ca") = f_ca,
Rcpp::Named("f_si") = f_si,
Rcpp::Named("is") = is
)
Rcpp::Named("is") = is,
Rcpp::Named("stringsAsFactors") = false
)
);
}

Expand Down

0 comments on commit c8c894a

Please sign in to comment.