Installation fails with missing value where TRUE/FALSE needed
Cattiva opened this issue · 7 comments
Hi all,
the installation fails on my Win10 machine even after complete reinstallation of R / RStudio.
> devtools::session_info()
- Session info ----------------------------------------------------------------------------------------
setting value
version R version 4.1.0 (2021-05-18)
os Windows 10 x64
system x86_64, mingw32
ui RStudio
language (EN)
collate German_Germany.1252
ctype German_Germany.1252
tz Europe/Berlin
date 2021-07-27
- Packages --------------------------------------------------------------------------------------------
package * version date lib source
cachem 1.0.5 2021-05-15 [1] CRAN (R 4.1.0)
callr 3.7.0 2021-04-20 [1] CRAN (R 4.1.0)
cli 3.0.1 2021-07-17 [1] CRAN (R 4.1.0)
crayon 1.4.1 2021-02-08 [1] CRAN (R 4.1.0)
desc 1.3.0 2021-03-05 [1] CRAN (R 4.1.0)
devtools 2.4.2 2021-06-07 [1] CRAN (R 4.1.0)
ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.1.0)
fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.1.0)
fs 1.5.0 2020-07-31 [1] CRAN (R 4.1.0)
glue 1.4.2 2020-08-27 [1] CRAN (R 4.1.0)
lifecycle 1.0.0 2021-02-15 [1] CRAN (R 4.1.0)
magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.1.0)
memoise 2.0.0 2021-01-26 [1] CRAN (R 4.1.0)
pkgbuild 1.2.0 2020-12-15 [1] CRAN (R 4.1.0)
pkgload 1.2.1 2021-04-06 [1] CRAN (R 4.1.0)
prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.1.0)
processx 3.5.2 2021-04-30 [1] CRAN (R 4.1.0)
ps 1.6.0 2021-02-28 [1] CRAN (R 4.1.0)
purrr 0.3.4 2020-04-17 [1] CRAN (R 4.1.0)
R6 2.5.0 2020-10-28 [1] CRAN (R 4.1.0)
remotes 2.4.0 2021-06-02 [1] CRAN (R 4.1.0)
rlang 0.4.11 2021-04-30 [1] CRAN (R 4.1.0)
rprojroot 2.0.2 2020-11-15 [1] CRAN (R 4.1.0)
sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 4.1.0)
testthat 3.0.4 2021-07-01 [1] CRAN (R 4.1.0)
usethis 2.0.1 2021-02-10 [1] CRAN (R 4.1.0)
withr 2.4.2 2021-04-18 [1] CRAN (R 4.1.0)
[1] C:/Users/alexa/Documents/R/win-library/4.1
[2] C:/Program Files/R/R-4.1.0/library
> install.packages("websocket")
Installiere Paket nach ‘C:/Users/alexa/Documents/R/win-library/4.1’
(da ‘lib’ nicht spezifiziert)
trying URL 'https://cran.uni-muenster.de/bin/windows/contrib/4.1/websocket_1.4.0.zip'
Content type 'application/zip' length 4070719 bytes (3.9 MB)
downloaded 3.9 MB
Error in install.packages : missing value where TRUE/FALSE needed
>
Also installing from github fails, but gives a little more detail that there might be a problem creating the websocket DLL:
> devtools::install_github("rstudio/websocket")
Downloading GitHub repo rstudio/websocket@HEAD
√ checking for file 'C:\Users\alexa\AppData\Local\Temp\RtmpWkpDfo\remotes5e00233957b8\rstudio-websocket-51dec68/DESCRIPTION' ...
- preparing 'websocket':
√ checking DESCRIPTION meta-information ...
- cleaning src
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'websocket_1.4.0.tar.gz'
Warnung: file 'websocket/cleanup' did not have execute permissions: corrected
Warnung: file 'websocket/configure' did not have execute permissions: corrected
Installiere Paket nach ‘C:/Users/alexa/Documents/R/win-library/4.1’
(da ‘lib’ nicht spezifiziert)
* installing *source* package 'websocket' ...
** using staged installation
**********************************************
WARNING: this package has a configure script
It probably needs manual configuration
**********************************************
** libs
*** arch - i386
"C:/PROGRA~1/R/R-41~1.0/bin/i386/Rscript.exe" "../tools/winlibs.R" 1.1.1g
/mingw32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cpp11.cpp -o cpp11.o
/mingw32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c debug.cpp -o debug.o
/mingw32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket.cpp -o websocket.o
/mingw32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket_connection.cpp -o websocket_connection.o
websocket_connection.cpp: In function 'cpp11::raws to_raw(std::__cxx11::string)':
websocket_connection.cpp:37:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
for(int i=0; i<input.size(); i++) {
~^~~~~~~~~~~~~
/mingw32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket_task.cpp -o websocket_task.o
/mingw32/bin/g++ -shared -s -static-libgcc -o websocket.dll tmp.def cpp11.o debug.o websocket.o websocket_connection.o websocket_task.o -L../windows/openssl-1.1.1g/lib/i386 -lssl -lcrypto -lws2_32 -lgdi32 -lcrypt32 -LC:/PROGRA~1/R/R-41~1.0/bin/i386 -lR
installing to C:/Users/alexa/Documents/R/win-library/4.1/00LOCK-websocket/00new/websocket/libs/i386
*** arch - x64
"C:/PROGRA~1/R/R-41~1.0/bin/x64/Rscript.exe" "../tools/winlibs.R" 1.1.1g
/mingw64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cpp11.cpp -o cpp11.o
/mingw64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c debug.cpp -o debug.o
/mingw64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket.cpp -o websocket.o
/mingw64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket_connection.cpp -o websocket_connection.o
websocket_connection.cpp: In function 'cpp11::raws to_raw(std::__cxx11::string)':
websocket_connection.cpp:37:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
for(int i=0; i<input.size(); i++) {
~^~~~~~~~~~~~~
/mingw64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-41~1.0/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/alexa/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/alexa/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket_task.cpp -o websocket_task.o
/mingw64/bin/g++ -shared -s -static-libgcc -o websocket.dll tmp.def cpp11.o debug.o websocket.o websocket_connection.o websocket_task.o -L../windows/openssl-1.1.1g/lib/x64 -lssl -lcrypto -lws2_32 -lgdi32 -lcrypt32 -LC:/PROGRA~1/R/R-41~1.0/bin/x64 -lR
installing to C:/Users/alexa/Documents/R/win-library/4.1/00LOCK-websocket/00new/websocket/libs/x64
Warnung in file.copy(files, dest, overwrite = TRUE)
Problem .\websocket.dll nach C:\Users\alexa\Documents\R\win-library\4.1\00LOCK-websocket\00new\websocket\libs\x64\websocket.dll zu kopieren: Invalid argument
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'websocket'
finding HTML links ... done
WebSocket html
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
Error: Laden von Paket oder Namensraum für 'websocket' in library.dynam(lib, package, package.lib): fehlgeschlagen
DLL 'websocket' nicht gefunden: vielleicht für diese Architektur nicht installiert?
Fehler: loading failed
Ausführung angehalten
ERROR: loading failed for 'x64'
* removing 'C:/Users/alexa/Documents/R/win-library/4.1/websocket'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/alexa/AppData/Local/Temp/RtmpWkpDfo/file5e005f8c4ff0/websocket_1.4.0.tar.gz’ had non-zero exit status
Could you please check what is causing this error?
Happy to provide further details if needed.
Many thanks in advance
Alex
Same here. Just un- and reinstalled R, RStudio and Rtools and still having the same issue.
install.packages("websocket")
#> Installing package into 'C:/Users/schmi/Documents/R/win-library/4.1'
#> (as 'lib' is unspecified)
#> Error in if (any(diff)) {: missing value where TRUE/FALSE needed
devtools::install_github("rstudio/websocket")
#> Downloading GitHub repo rstudio/websocket@HEAD
#>
#> checking for file 'C:\Users\schmi\AppData\Local\Temp\RtmpkzMuKS\remotesf503f97558a\rstudio-websocket-2161ee7/DESCRIPTION' ... checking for file 'C:\Users\schmi\AppData\Local\Temp\RtmpkzMuKS\remotesf503f97558a\rstudio-websocket-2161ee7/DESCRIPTION' ... v checking for file 'C:\Users\schmi\AppData\Local\Temp\RtmpkzMuKS\remotesf503f97558a\rstudio-websocket-2161ee7/DESCRIPTION'
#> - preparing 'websocket':
#> checking DESCRIPTION meta-information ... checking DESCRIPTION meta-information ... v checking DESCRIPTION meta-information
#> - cleaning src
#> - checking for LF line-endings in source and make files and shell scripts
#> - checking for empty or unneeded directories
#> - building 'websocket_1.4.1.9000.tar.gz'
#> Warning: Warning: file 'websocket/cleanup' did not have execute permissions: corrected
#> Warning: file 'websocket/configure' did not have execute permissions: corrected
#>
#>
#> Installing package into 'C:/Users/schmi/Documents/R/win-library/4.1'
#> (as 'lib' is unspecified)
#> Warning in i.p(...): installation of package 'C:/Users/schmi/AppData/Local/Temp/
#> RtmpkzMuKS/filef50433d20f5/websocket_1.4.1.9000.tar.gz' had non-zero exit status
Created on 2021-11-29 by the reprex package (v2.0.1)
Out of desperation, I even tried installing via the websocket_1.4.1.tar.gz
from CRAN:
* installing *source* package 'websocket' ...
** package 'websocket' successfully unpacked and MD5 sums checked
** using staged installation
**********************************************
WARNING: this package has a configure script
It probably needs manual configuration
**********************************************
** libs
*** arch - i386
"C:/PROGRA~1/R/R-4.1.2/bin/i386/Rscript.exe" "../tools/winlibs.R" 1.1.1g
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cpp11.cpp -o cpp11.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c debug.cpp -o debug.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket.cpp -o websocket.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket_connection.cpp -o websocket_connection.o
websocket_connection.cpp: In function 'cpp11::raws to_raw(std::__cxx11::string)':
websocket_connection.cpp:37:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
for(int i=0; i<input.size(); i++) {
~^~~~~~~~~~~~~
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket_task.cpp -o websocket_task.o
C:/rtools40/mingw32/bin/g++ -shared -s -static-libgcc -o websocket.dll tmp.def cpp11.o debug.o websocket.o websocket_connection.o websocket_task.o -L../windows/openssl-1.1.1g/lib/i386 -lssl -lcrypto -lz -lws2_32 -lgdi32 -lcrypt32 -LC:/PROGRA~1/R/R-4.1.2/bin/i386 -lR
installing to C:/Users/schmi/Documents/R/win-library/4.1/00LOCK-websocket/00new/websocket/libs/i386
*** arch - x64
"C:/PROGRA~1/R/R-4.1.2/bin/x64/Rscript.exe" "../tools/winlibs.R" 1.1.1g
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cpp11.cpp -o cpp11.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c debug.cpp -o debug.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket.cpp -o websocket.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket_connection.cpp -o websocket_connection.o
websocket_connection.cpp: In function 'cpp11::raws to_raw(std::__cxx11::string)':
websocket_connection.cpp:37:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
for(int i=0; i<input.size(); i++) {
~^~~~~~~~~~~~~
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.1.2/include" -DNDEBUG -I./lib -I../windows/openssl-1.1.1g/include -D_WEBSOCKETPP_CPP11_THREAD_ -I'C:/Users/schmi/Documents/R/win-library/4.1/cpp11/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/AsioHeaders/include' -I'C:/Users/schmi/Documents/R/win-library/4.1/later/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c websocket_task.cpp -o websocket_task.o
C:/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o websocket.dll tmp.def cpp11.o debug.o websocket.o websocket_connection.o websocket_task.o -L../windows/openssl-1.1.1g/lib/x64 -lssl -lcrypto -lz -lws2_32 -lgdi32 -lcrypt32 -LC:/PROGRA~1/R/R-4.1.2/bin/x64 -lR
no DLL was created
ERROR: compilation failed for package 'websocket'
* removing 'C:/Users/schmi/Documents/R/win-library/4.1/websocket'
Warning in install.packages :
installation of package ‘C:/Users/schmi/Downloads/websocket_1.4.1.tar.gz’ had non-zero exit status
Session Info:
devtools::session_info()
#> - Session info --------------------------------------------------------------
#> hash: sparkle, check mark, full moon
#>
#> setting value
#> version R version 4.1.2 (2021-11-01)
#> os Windows 10 x64 (build 19042)
#> system x86_64, mingw32
#> ui RTerm
#> language en
#> collate German_Germany.1252
#> ctype German_Germany.1252
#> tz Europe/Berlin
#> date 2021-11-29
#> pandoc 2.14.0.3 @ C:/Program Files/RStudio/bin/pandoc/ (via rmarkdown)
#>
#> - Packages -------------------------------------------------------------------
#> package * version date (UTC) lib source
#> backports 1.4.0 2021-11-23 [1] CRAN (R 4.1.2)
#> cachem 1.0.6 2021-08-19 [1] CRAN (R 4.1.2)
#> callr 3.7.0 2021-04-20 [1] CRAN (R 4.1.0)
#> cli 3.1.0 2021-10-27 [1] CRAN (R 4.1.2)
#> crayon 1.4.2 2021-10-29 [1] CRAN (R 4.1.2)
#> desc 1.4.0 2021-09-28 [1] CRAN (R 4.1.2)
#> devtools 2.4.2 2021-06-07 [1] CRAN (R 4.1.0)
#> digest 0.6.28 2021-09-23 [1] CRAN (R 4.1.2)
#> ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.1.0)
#> evaluate 0.14 2019-05-28 [1] CRAN (R 4.1.0)
#> fansi 0.5.0 2021-05-25 [1] CRAN (R 4.1.0)
#> fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.1.0)
#> fs 1.5.0 2020-07-31 [1] CRAN (R 4.1.0)
#> glue 1.5.0 2021-11-07 [1] CRAN (R 4.1.2)
#> highr 0.9 2021-04-16 [1] CRAN (R 4.1.0)
#> htmltools 0.5.2 2021-08-25 [1] CRAN (R 4.1.2)
#> knitr 1.36 2021-09-29 [1] CRAN (R 4.1.2)
#> lifecycle 1.0.1 2021-09-24 [1] CRAN (R 4.1.2)
#> magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.1.0)
#> memoise 2.0.1 2021-11-26 [1] CRAN (R 4.1.2)
#> pillar 1.6.4 2021-10-18 [1] CRAN (R 4.1.2)
#> pkgbuild 1.2.0 2020-12-15 [1] CRAN (R 4.1.0)
#> pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.1.0)
#> pkgload 1.2.3 2021-10-13 [1] CRAN (R 4.1.2)
#> prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.1.0)
#> processx 3.5.2 2021-04-30 [1] CRAN (R 4.1.0)
#> ps 1.6.0 2021-02-28 [1] CRAN (R 4.1.0)
#> purrr 0.3.4 2020-04-17 [1] CRAN (R 4.1.0)
#> R.cache 0.15.0 2021-04-30 [1] CRAN (R 4.1.2)
#> R.methodsS3 1.8.1 2020-08-26 [1] CRAN (R 4.1.1)
#> R.oo 1.24.0 2020-08-26 [1] CRAN (R 4.1.1)
#> R.utils 2.11.0 2021-09-26 [1] CRAN (R 4.1.2)
#> R6 2.5.1 2021-08-19 [1] CRAN (R 4.1.2)
#> remotes 2.4.1 2021-09-29 [1] CRAN (R 4.1.2)
#> reprex 2.0.1 2021-08-05 [1] CRAN (R 4.1.2)
#> rlang 0.4.12 2021-10-18 [1] CRAN (R 4.1.2)
#> rmarkdown 2.11 2021-09-14 [1] CRAN (R 4.1.2)
#> rprojroot 2.0.2 2020-11-15 [1] CRAN (R 4.1.0)
#> rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.1.0)
#> sessioninfo 1.2.1 2021-11-02 [1] CRAN (R 4.1.2)
#> stringi 1.7.6 2021-11-29 [1] CRAN (R 4.1.2)
#> stringr 1.4.0 2019-02-10 [1] CRAN (R 4.1.0)
#> styler 1.6.2 2021-09-23 [1] CRAN (R 4.1.2)
#> testthat 3.1.0 2021-10-04 [1] CRAN (R 4.1.2)
#> tibble 3.1.6 2021-11-07 [1] CRAN (R 4.1.2)
#> usethis 2.1.3 2021-10-27 [1] CRAN (R 4.1.2)
#> utf8 1.2.2 2021-07-24 [1] CRAN (R 4.1.2)
#> vctrs 0.3.8 2021-04-29 [1] CRAN (R 4.1.0)
#> withr 2.4.2 2021-04-18 [1] CRAN (R 4.1.0)
#> xfun 0.28 2021-11-04 [1] CRAN (R 4.1.2)
#> yaml 2.2.1 2020-02-01 [1] CRAN (R 4.1.0)
#>
#> [1] C:/Users/schmi/Documents/R/win-library/4.1
#> [2] C:/Program Files/R/R-4.1.2/library
#>
#> ------------------------------------------------------------------------------
@SchmidtPaul Are you using Rtools 40v2? Via: https://cran.r-project.org/bin/windows/Rtools/
I wish sessioninfo::session_info()
displayed the Rtools version...
@schloerke
Yes, just before posting I even reinstalled Rtools40v2 (=Rtools 4.0.1.0) via: https://cran.r-project.org/bin/windows/Rtools/
(I just found out that I am not facing this issue on my other PC, where I am using Rtools 4.0.0.28)
Good news: We are able to reprex a freeze when compiling the x64 build using Rtools 40v2
Bad news: Compilers on Windows
Very odd that it worked for Rtools 40 (v1) and not for 40v2.
The installation in the first post here fails because:
Warnung in file.copy(files, dest, overwrite = TRUE)
Problem .\websocket.dll nach C:\Users\alexa\Documents\R\win-library\4.1\00LOCK-websocket\00new\websocket\libs\x64\websocket.dll zu kopieren: Invalid argument
This means the DLL is in use and can not be replaced. It is probably fixed if you quit all r sessions and try again (possibly restart your computer if there is a background process stuck).
I think it is very unlikely this has anything to do with the version of rtools40 (there were no related changes between v1 and v2). The installation works fine for me.
Thanks @jeroen, it seemed that a background process and the antivirus used (Avast) both blocked the installation.
After deactivating the antivirus software and running install.packages from a fresh admin cmd did the job.
I just want to confirm that deactivating Avast before installing the package also solved the issue for me.