davidgohel / flextable

table farming
https://ardata-fr.github.io/flextable-book/
562 stars 81 forks source link

The caption cannot be #462

Closed JTCDCTWB closed 2 years ago

JTCDCTWB commented 2 years ago

First of all, thank you for your work. I love 'flextable'. After upgrading flextable from 0.7.3 to 0.8.0, in RMarkdown, generated with officedown::rdocx_document(),it is unable to display when using set_caption() to generate caption.


date: "r Sys.Date()" author: "Your Name" title: "officedown template" output: officedown::rdocx_document: mapstyles: Normal: ['First Paragraph']

library(officedown)
library(tidyverse)
library(officer)
library(flextable)
head(mtcars) %>% 
  flextable() %>% 
  set_caption(caption = "mtcars caption")
davidgohel commented 2 years ago

thanks, it should be fixed now and soon on cran

github-actions[bot] commented 1 year ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.