export icon indicating copy to clipboard operation
export copied to clipboard

Error in colformat_int

Open User1122334 opened this issue 3 years ago • 1 comments

Whatever I try, I am getting this error

table2ppt(x=x,file=filen, digits = 1, digitspvals = 3)

Error in colformat_int(x = tab, col_keys = col.df) : unused argument (col_keys = col.df)

Even with the very basic example from the vignette run in an otherwise empty script I get this error. Am I doing something wrong here?

User1122334 avatar Sep 05 '22 08:09 User1122334

Could you please provide the output of sessionInfo(). It is probably a version issue, either you are using an old version of some packages (hence updating packages should solve the issue), or you are using a new version and we have to fix this.

cvanderaa avatar Sep 05 '22 10:09 cvanderaa

This should be resolved by updating these two packages on your side install.packages(c("officer", "flextable")) Closing this issue for now...

tomwenseleers avatar Dec 01 '22 17:12 tomwenseleers

Sorry to be late but was out on fieldwork and sorry to report: updating the packages did not solve the problem. Guessing now that my R version is the problem, but am not sure which R version I'd need instead.

Update: I updated my R version to 4.2.2 and re-installed the packages, now it works.

User1122334 avatar Dec 02 '22 12:12 User1122334