I'm currently working on a project that requires me to calculate Fu and Li's D using RStudio. Previously I would use the package PopGenome. However, after I update my RStudio program which leads to me having to re-install every package. Unfortunately, I ran into problem downloading PopGenome again.
So my question is that: is there any other package in R that could calculate Fu and Li's D? and is there any other way to download PopGenome besides using "devtools" and "manual package installation"? I have tried both and fail.
The error is like this.
17 warnings and 12 errors generated.
make: *** [whopgenome/readdnapp.o] Error 1
ERROR: compilation failed for package ‘PopGenome’
* removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/PopGenome’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/8f/f796rj315876tvkpmhk_hw980000gn/T//RtmpJ0eJdy/filea8fb7ecf1ba1/PopGenome_2.7.7.tar.gz’ had non-zero exit status
Thank you in advance.