I am running into a problem when I knit RMD files to docx files. I used to include flextable objects that were previously saved as .rds files in my RMD files using read_rds()
so when I knit the document, the tables would be printed out in the .docx file.
I have just updated R to version 4.2.2, and now it gives me this error when I try to knit RMD to docx
I don't face the same error when I try to knit the document to PDF or HTML
Error in x$data[i, j] <- value : number of items to replace is not a multiple of replacement length Calls: .main ... keep_wn -> [<- -> [<-.par_struct -> [<- -> [<-.fpstruct