Closed ccamara closed 1 year ago
The compiler is determined by your R installation. I think you will have the same problem installing any package that has compiled code (if you are installing from source).
Can you just install the binary package? I see on CRAN it is currently on the previous version, 0.5.4, but that should be OK for most people.
Thanks for your answer, @wch ! I re-installed R and it is working now. I do not remember how did I install it (I'm not very familiar with Macs) and in my case, I had to re-install it via brew install --cask r
and it worked fine.
I have just started a new project, with a blank environment. When running
install.packages("htmltools")
I get the following error:This is my sessionInfo:
From what I seem to understand, the package cannot be compiled because there's an issue with gcc.
I'm not 100% sure of what it is, but I checked and gcc is installed:
however,
gcc-5.3.0
doesn't seem to be a valid command (zsh: command not found: gcc-5.3.0
)