library(officer)
std_border <- fp_border(color = "gray")
ft <- flextable(head(iris))
ft <- border_remove(x = ft)
# add horizontal borders below every row
ft <- hline(ft, part = "all", border = std_border)
ft
Run the code above in your browser using DataLab