安装 r 软件包时如何解决此错误?

How can I resolve this error when installing r packages?

我想尝试 this geopspatial mapping tutorial,但我无法将 tmaptmaptools 软件包正确获取到 install/load。以下是安装的一些屏幕截图。 and and results in this problem when I try to load the libraries

如果有人能解释问题是什么以及我该如何解决它,我将不胜感激。

@user2554330 是对的,我之前为 class 安装的 C 编译器干扰了软件包的安装。我刚刚重命名了编译器的目录,一切正常。