package xlsx error

I've found a description of the underlying problem here:

In the bottom there is a link to a patched version of R 4.2.0, that does indeed solve the problem.
/Thomas