I am trying to change the font size of a paragraph using Officer but I am not able to do it. Can anyone tell me what I am doing wrong?
library(officer)
text_style <- fp_text(font.size = 12)
my_doc <- read_docx()
body_add_par(my_doc,"This is a test", style = text_style)
print(my_doc, target = "dummy.docx")