Thanks, that helps a lot! xslx depends on rJava, and it’s the rJava installation that failed. You can see that in this part of the log:
So I’m afraid you you need to fix the issues with your Java configuration before you can install rJava, and therefore before you can install xslx.
Before you dive into that, though, I’d take a look and see if the readxl package can meet your needs (maybe along with some of the related packages for writing Excel files discussed at the end of the linked page). A major benefit is that it has no Java dependency, so you don’t have to struggle with stuff like this!
Originally, you said:
Are there other packages that are failing to install, or was it just xslx?