Closed vincentarelbundock closed 3 months ago
I have a question related to this. I tried to have a group at i = 0
and got an error. How can I have a group that starts with the first line of the table?
Edit: I should add that I'm using Typst as output format. Looking at the markdown example above I'm wondering if there's not something going on there. I'll do some tests when I have the chance.
I can confirm that there is something unusual going on:
---
format: typst
---
```{r}
#| output: asis
library(tinytable)
tt(head(iris)) |>
group_tt(i = list("Blah" = 1)) |>
print("markdown")
library(tinytable)
tt(head(iris)) |>
group_tt(i = list("Blah" = 1))
The markdown places the *Blah* before the first line, whereas in Typst it's placed after the first line and the last line gets pushed down.
Fixed on Github