Why Officer write to doc reverse? I face that after i updated my R 4.0 to 4.2.
This is my code:
main.doc <-read_docx()
body_add_par(main.doc," first ")
body_add_par(main.doc," second " )
body_add_par(main.doc," third ")
docx_summary(main.doc)
That is the result:
Content at cursor location:
level num_id text style_name content_type
1 NA NA third Normal paragraph
doc_index content_type style_name text level num_id
1 1 paragraph Normal **third** NA NA
2 2 paragraph Normal **second** NA NA
3 3 paragraph Normal **first** NA NA