-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi, I installed the latest R (4.2.2), Rtools, and RStudio (2022.07.2+576) on my Windows 11 computer. I managed to install other packages such as dembase and demlife, but I encountered errors every time when I execute
library(devtools)
install_github("statisticsnz/demest")
or
library(devtools)
install_github("StatisticsNZ/demest", build_vignettes = TRUE)
The error report is given as follows:
......(with the same format)
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: updatePriorBeta.o:updatePriorBet:(.bss+0xb20): multiple definition of `gamma_sym'; Combined-methods.o:Combined-metho:(.bss+0xb20): first defined here
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: updatePriorBeta.o:updatePriorBet:(.bss+0xb28): multiple definition of `eta_sym'; Combined-methods.o:Combined-metho:(.bss+0xb28): first defined here
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: updatePriorBeta.o:updatePriorBet:(.bss+0xb30): multiple definition of `beta_sym'; Combined-methods.o:Combined-metho:(.bss+0xb30): first defined here
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: updatePriorBeta.o:updatePriorBet:(.bss+0xb38): multiple definition of `Z_sym'; Combined-methods.o:Combined-metho:(.bss+0xb38): first defined here
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: updatePriorBeta.o:updatePriorBet:(.bss+0xb48): multiple definition of `jointUpdate_sym'; Combined-methods.o:Combined-metho:(.bss+0xb48): first defined here
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: updatePriorBeta.o:updatePriorBet:(.bss+0xb50): multiple definition of `Data_sym'; Combined-methods.o:Combined-metho:(.bss+0xb50): first defined here
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'demest'
─ removing 'C:/Users/RZ/AppData/Local/Temp/RtmpmEvUAm/Rinst22541cc86cb0/demest'
-----------------------------------
ERROR: package installation failed
Error: Failed to install 'demest' from GitHub:
! System command 'Rcmd.exe' failed
Could you help me fix this issue? Thanks!
Metadata
Metadata
Assignees
Labels
No labels