I am having an odd issue with ReporteRs all of a sudden, even though I haven't updated or installed any new packages since the last time my code worked fine.
It seems to be related to the pipe operator. Here is an example:
This code returns this very general error, and I am sure it worked on the same table object a couple of weeks ago:

Indeed re-writing the code without pipes works:

I get the same issue with other commands too, such as addParagraph, addSlide, etc, but only when chained through the pipe operator.
Here is the session info. Has anybody come across this issue, and can suggest a solution?
Note my analysis work takes place in a safe haven environment that is not connected to the internet, hence not being able to have much control over what software versions are installed (and providing screenshot only).
EDIT: Code used:
paired_outcomes2 <- data.frame(sample = as.factor("Service"), percentage = as.character("50%"), count = as.integer(30))
# works
MyFTable <- paired_outcomes2
# The table
MyFTable <- FlexTable(MyFTable, add.rownames = FALSE, header.columns = F,
header.cell.props = cellProperties( background.color = "white" ),
header.text.props = textProperties( color = "black",
font.size = 11, font.weight = "bold" ),
body.text.props = textProperties( font.size = 10 , font.family="Calibri"))
# doesn't work
MyFTable <- paired_outcomes2 %>%
# The table
FlexTable( add.rownames = FALSE, header.columns = F,
header.cell.props = cellProperties( background.color = "white" ),
header.text.props = textProperties( color = "black",
font.size = 11, font.weight = "bold" ),
body.text.props = textProperties( font.size = 10 , font.family="Calibri"))
