commit | e5bfbf1215bbf64a9c295f4991d0e5992e440335 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Tue Jun 06 00:24:49 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Tue Jun 06 00:24:49 2017 -0400 |
tree | 30f24eb795efb6a773e3ba1a83fe19f25a21689d | |
parent | 5353dc04c408ec070cce3608fc9af04eae40ae54 [diff] [blame] |
bug fixed: https://stackoverflow.com/questions/44360040/group-rows-function-in-kableextra-package-not-grouping-rows
diff --git a/R/magic_mirror.R b/R/magic_mirror.R index 2e415f7..7a274bc 100644 --- a/R/magic_mirror.R +++ b/R/magic_mirror.R
@@ -70,6 +70,7 @@ ) # Contents kable_info$contents <- str_match_all(kable_input, "\n(.*)\\\\\\\\")[[1]][,2] + kable_info$contents <- sub("\\\\", "\\\\\\\\", kable_info$contents) if (kable_info$tabular == "longtable" & !is.na(kable_info$caption)) { kable_info$contents <- kable_info$contents[-1] }