I'm using the officer package to create a Word document with some tables in it. I want the tables to have simple lines separating cells, but I don't know how to do it. I add each table with body_add_table(), and I know there is a function called fp_border(), but nowhere on the documentation or the internet I could find how to relate both functions. I tried calling fp_border() right before and right after read_docx(), and right before body_add_table(), but nothing works. I've also read that package “flextable” should be used instead, but in this case, what is the point in having a fp_border() function?
Looks like I will have to go with flextable, but I want to be sure.
PS: I got a very strange error here: The tag [table] is too similar to [table]. If you think this new tag should be allowed, discuss it on meta.
My solution goes along these lines: