When running the following rmardown code
```{r echo=FALSE}
secondc <- c("X.*","X",NA,"X",NA,NA)
thrirdc <- c("Y","Y",NA,"X",'Y',NA)
tabela <- data.frame(firstc,secondc, thrirdc)
ft <- flextable(tabela)
ft <- access(ft)
ft <- hline_top(ft)
ft <- fit_to_width(ft, max_width = 2.2)
ft <- align(ft, i = 4, j=2:ncol(tabela), align = "center")
ft <- set_table_properties(ft, layout = "autofit", width = 1)
```
\begin{enumerate}
\item My first line.
\begin{multicols}{2}
\begin{enumerate}
\item `r ft`
\item `r ft`
\item `r ft`
\item `r ft`
\end{enumerate}
\end{multicols}
\end{enumerate}
I get the following error:
output file: flextable.knit.md
! Package longtable Error: longtable not in 1-column mode.
Error: LaTeX failed to compile flextable.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See flextable.log for more info. Execution halted