You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am installing the package: tidyverse which includes rlang_1.1.5.tar.gz. Running the install produces teh following error:
installing source package 'rlang' ...
** package 'rlang' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc (GCC) 12.4.0'
gcc -I"C:/PROGRA1/R/R-441.2/include" -DNDEBUG -I./rlang/ -I"c:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c capture.c -o capture.o
gcc -I"C:/PROGRA1/R/R-441.2/include" -DNDEBUG -I./rlang/ -I"c:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c internal.c -o internal.o
gcc -I"C:/PROGRA1/R/R-441.2/include" -DNDEBUG -I./rlang/ -I"c:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rlang.c -o rlang.o
In file included from rlang/rlang.c:7,
from rlang.c:5:
rlang/cnd.c:95:10: fatal error: Rinterface.h: No such file or directory
95 | #include <Rinterface.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make: *** [C:/PROGRA1/R/R-441.2/etc/x64/Makeconf:289: rlang.o] Error 1
ERROR: compilation failed for package 'rlang'
removing 'C:/Users/ouell/AppData/Local/R/win-library/4.4/rlang'
Warning in install.packages :
installation of package ‘rlang’ had non-zero exit status
I investigated further and noted that the package cntains the following file: rlang\src\rlang\cnd.c which contained the following line:
#include <Rinterface.h>
This is missing in the package and if I understand, thi sis only a Linux file. I was able to comment this line out and rerun the following command successfully.
I am installing the package: tidyverse which includes rlang_1.1.5.tar.gz. Running the install produces teh following error:
** package 'rlang' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc (GCC) 12.4.0'
gcc -I"C:/PROGRA
1/R/R-441.2/include" -DNDEBUG -I./rlang/ -I"c:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c capture.c -o capture.ogcc -I"C:/PROGRA
1/R/R-441.2/include" -DNDEBUG -I./rlang/ -I"c:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c internal.c -o internal.ogcc -I"C:/PROGRA
1/R/R-441.2/include" -DNDEBUG -I./rlang/ -I"c:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rlang.c -o rlang.oIn file included from rlang/rlang.c:7,
from rlang.c:5:
rlang/cnd.c:95:10: fatal error: Rinterface.h: No such file or directory
95 | #include <Rinterface.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make: *** [C:/PROGRA
1/R/R-441.2/etc/x64/Makeconf:289: rlang.o] Error 1ERROR: compilation failed for package 'rlang'
Warning in install.packages :
installation of package ‘rlang’ had non-zero exit status
I investigated further and noted that the package cntains the following file: rlang\src\rlang\cnd.c which contained the following line:
#include <Rinterface.h>
This is missing in the package and if I understand, thi sis only a Linux file. I was able to comment this line out and rerun the following command successfully.
gcc -I"C:/PROGRA
1/R/R-441.2/include" -DNDEBUG -I./rlang/ -I"c:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rlang.c -o rlang.oThe date on this file is recent 2025-01-17 14:30 748K so it may be that this has been newly introduced.
The file is located here: https://cran.rstudio.com/src/contrib/
The text was updated successfully, but these errors were encountered: