commit | d2c0f73e21c69c84a02de780cbdb5515e03baf1d | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu@hsl.harvard.edu> | Sat Aug 26 10:40:14 2017 -0400 |
committer | Hao Zhu <haozhu@hsl.harvard.edu> | Sat Aug 26 10:40:14 2017 -0400 |
tree | 934a8fb3d3dd4ef60a433f6c5668cffa9d0e61c8 | |
parent | f451dbb62cf72e16050fe39ea5ae99b3fd53a617 [diff] [blame] |
add enc2utf8 to solve unicode issue
diff --git a/R/collapse_rows.R b/R/collapse_rows.R index 3b13997..8ba1250 100644 --- a/R/collapse_rows.R +++ b/R/collapse_rows.R
@@ -89,7 +89,7 @@ if (is.null(columns)) { columns <- seq(1, table_info$ncol) } - out <- as.character(kable_input) + out <- enc2utf8(as.character(kable_input)) contents <- table_info$contents kable_dt <- kable_dt_latex(contents) collapse_matrix <- collapse_row_matrix(kable_dt, columns, html = F)