Using writexl to export a dataframe containing real and complex numbers

This is not a reproducible example : you are having problem and you expect of us to check to which package this function belongs. And then to check its documentation.

And as for an alternative: a complex number is most often written as the sum of the real and the imaginary part. This could suggest a solution?