Continuing the discussion from Introduction to Machine Learning with the Tidyverse Workshop - rstudio::conf 2020:
Hi,
When I am trying to install the R packages, I get the following error for rlang, tidyr, vctrs and stringi:
- installing source package 'stringi' ... ** package 'stringi' successfully unpacked and MD5 sums checked ** using staged installation Warning in system("sh ./configure.win") : 'sh' not found ERROR: configuration failed for package 'stringi' * removing 'C:/Users/ruiza07/Documents/R/win-library/3.6/stringi' * restoring previous 'C:/Users/ruiza07/Documents/R/win-library/3.6/stringi' Warning in install.packages : installation of package ‘stringi’ had non-zero exit status * installing source package 'rlang' ... ** package 'rlang' successfully unpacked and MD5 sums checked ** using staged installation ** libs
*** arch - i386
C:/PROGRA~1/R/R-36~1.2/etc/i386/Makeconf:230: warning: overriding commands for target .m.o' C:/PROGRA~1/R/R-36~1.2/etc/i386/Makeconf:223: warning: ignoring old commands for target
.m.o'
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I./lib/ -O3 -Wall -std=gnu99 -mtune=generic -c capture.c -o capture.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I./lib/ -O3 -Wall -std=gnu99 -mtune=generic -c export.c -o export.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I./lib/ -O3 -Wall -std=gnu99 -mtune=generic -c internal.c -o internal.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I./lib/ -O3 -Wall -std=gnu99 -mtune=generic -c lib.c -o lib.o
process_begin: CreateProcess(NULL, basename rlang.dll .dll, ...) failed.
process_begin: CreateProcess(NULL, basename rlang.dll .dll, ...) failed.
process_begin: CreateProcess(NULL, basename rlang.dll .dll, ...) failed.
"zcapture.o export.o internal.o lib.o" was unexpected at this time.
make: *** [rlang.dll] Error 255
ERROR: compilation failed for package 'rlang'
- removing 'C:/Users/ruiza07/Documents/R/win-library/3.6/rlang'
- restoring previous 'C:/Users/ruiza07/Documents/R/win-library/3.6/rlang'
Warning in install.packages :
installation of package ‘rlang’ had non-zero exit status
- installing source package 'vctrs' ...
** package 'vctrs' successfully unpacked and MD5 sums checked
** using staged installation
** libs
*** arch - i386
C:/PROGRA~1/R/R-36~1.2/etc/i386/Makeconf:230: warning: overriding commands for target .m.o' C:/PROGRA~1/R/R-36~1.2/etc/i386/Makeconf:223: warning: ignoring old commands for target
.m.o'
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c altrep-rle.c -o altrep-rle.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c arg-counter.c -o arg-counter.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c arg.c -o arg.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c bind.c -o bind.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c c.c -o c.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c cast.c -o cast.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c compare.c -o compare.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c conditions.c -o conditions.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c dictionary.c -o dictionary.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c equal.c -o equal.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c fields.c -o fields.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c group.c -o group.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c growable.c -o growable.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c hash.c -o hash.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c init.c -o init.o
In file included from init.c:6:0:
altrep-rle.h:23:25: warning: 'altrep_rle_class' defined but not used [-Wunused-variable]
static R_altrep_class_t altrep_rle_class;
^
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c names.c -o names.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c proxy-restore.c -o proxy-restore.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c proxy.c -o proxy.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c size-common.c -o size-common.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c size.c -o size.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c slice-array.c -o slice-array.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c slice-assign.c -o slice-assign.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c slice-chop.c -o slice-chop.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c slice.c -o slice.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c split.c -o split.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c subscript-loc.c -o subscript-loc.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c translate.c -o translate.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c type-data-frame.c -o type-data-frame.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c type-info.c -o type-info.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c type-list-of.c -o type-list-of.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c type.c -o type.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c type2-dispatch.c -o type2-dispatch.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c type2.c -o type2.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c unspecified.c -o unspecified.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c utils-dispatch.c -o utils-dispatch.o
c:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c utils.c -o utils.o
process_begin: CreateProcess(NULL, basename vctrs.dll .dll, ...) failed.
process_begin: CreateProcess(NULL, basename vctrs.dll .dll, ...) failed.
process_begin: CreateProcess(NULL, basename vctrs.dll .dll, ...) failed.
"zaltrep-rle.o arg-counter.o arg.o bind.o c.o cast.o compare.o conditions.o dictionary.o equal.o fields.o group.o growable.o hash.o init.o names.o proxy-restore.o proxy.o size-common.o size.o slice-array.o slice-assign.o slice-chop.o slice.o split.o subscript-loc.o translate.o type-data-frame.o type-info.o type-list-of.o type.o type2-dispatch.o type2.o unspecified.o utils-dispatch.o utils.o" was unexpected at this time.
make: *** [vctrs.dll] Error 255
ERROR: compilation failed for package 'vctrs'
- removing 'C:/Users/ruiza07/Documents/R/win-library/3.6/vctrs'
- restoring previous 'C:/Users/ruiza07/Documents/R/win-library/3.6/vctrs'
Warning in install.packages :
installation of package ‘vctrs’ had non-zero exit status
- installing source package 'tidyr' ...
** package 'tidyr' successfully unpacked and MD5 sums checked
** using staged installation
** libs
*** arch - i386
C:/PROGRA~1/R/R-36~1.2/etc/i386/Makeconf:230: warning: overriding commands for target .m.o' C:/PROGRA~1/R/R-36~1.2/etc/i386/Makeconf:223: warning: ignoring old commands for target
.m.o'
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I"C:/Users/ruiza07/Documents/R/win-library/3.6/Rcpp/include" -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.o
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I"C:/Users/ruiza07/Documents/R/win-library/3.6/Rcpp/include" -O2 -Wall -mtune=generic -c fill.cpp -o fill.o
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I"C:/Users/ruiza07/Documents/R/win-library/3.6/Rcpp/include" -O2 -Wall -mtune=generic -c melt.cpp -o melt.o
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I"C:/Users/ruiza07/Documents/R/win-library/3.6/Rcpp/include" -O2 -Wall -mtune=generic -c simplifyPieces.cpp -o simplifyPieces.o
process_begin: CreateProcess(NULL, basename tidyr.dll .dll, ...) failed.
process_begin: CreateProcess(NULL, basename tidyr.dll .dll, ...) failed.
process_begin: CreateProcess(NULL, basename tidyr.dll .dll, ...) failed.
"zRcppExports.o fill.o melt.o simplifyPieces.o" was unexpected at this time.
make: *** [tidyr.dll] Error 255
ERROR: compilation failed for package 'tidyr'
- removing 'C:/Users/ruiza07/Documents/R/win-library/3.6/tidyr'
- restoring previous 'C:/Users/ruiza07/Documents/R/win-library/3.6/tidyr'
Warning in install.packages :
installation of package ‘tidyr’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\ruiza07\AppData\Local\Temp\1\RtmpeSoTpM\downloaded_packages’
library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
object 'vI' not found