Search code examples
rflextable

Lines have disappeared from flextables


Looking at the flextable documentation here for flextable_0.5.0, there should be lines on my flextable, but I don't get any.

Code:

myft <- flextable(head(iris))
myft

Output:

enter image description here

Expected Output:

enter image description here

I should be able to add lines if I want them using this code:

myft <- flextable(head(iris)) %>% 
  border_outer(border = fp_border(color="black", width = 1))
myft

But no borders appear. I assume this is a bug? Or have the commands changed but the documentation not been updated?

In the mean time, is there a way to roll back to the previous version?

Edit:

Just re-isntalled version 0.4.6 and 0.4.5 and I'm having the same issue so not sure what's going on. I'm using R version 3.5.2. I wasn't having this issue yesterday before I upgraded to 0.5.0.

Edit 2:

The latest update (0.5.1) has resolved the issue :) Thanks @DavidGohel


Solution

  • Issue is now resolved in version 0.5.1+ of the flextable package.