rlang update package error


I am trying to install spatialEco package, however, it requires lifecycle which then requires rlang 0.4.12. I currently have rlang 0.4.5 and when I tried to update the package. It failed to compile package.

* installing *source* package 'rlang' ...
** package 'rlang' successfully unpacked and MD5 sums checked
** libs

*** arch - i386
c:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-35~1.3/include" -DNDEBUG -I./lib/         -O3 -Wall  -std=gnu99 -mtune=generic -c capture.c -o capture.o
sh: line 1: c:/Rtools/mingw_32/bin/gcc: No such file or directory
make: *** [C:/PROGRA~1/R/R-35~1.3/etc/i386/Makeconf:208: capture.o] Error 127
ERROR: compilation failed for package 'rlang'
* removing 'C:/Users/MTsui/Documents/R/win-library/3.5/rlang'
Warning in install.packages :
  installation of package ‘rlang’ had non-zero exit status

Apparently the 32-bit version of RTools hasn't been correctly installed, try installing it again, also, if you are in a x64 system and you don't need the 32-bit version of R, I recommend you to uninstall it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.