我正在尝试安装 CRAN 群体遗传学包hierfstat;但是 libproj.so.13 打印出以下错误:
\n\n> install.packages("hierfstat")\nInstalling package into \xe2\x80\x98/home/ecoevo/R/x86_64-pc-linux-gnu-library/3.6\xe2\x80\x99\n(as \xe2\x80\x98lib\xe2\x80\x99 is unspecified)\ntrying URL \'https://cloud.r-project.org/src/contrib/hierfstat_0.04-22.tar.gz\'\nContent type \'application/x-gzip\' length 460778 bytes (449 KB)\n==================================================\ndownloaded 449 KB\n\n* installing *source* package \xe2\x80\x98hierfstat\xe2\x80\x99 ...\n** package \xe2\x80\x98hierfstat\xe2\x80\x99 successfully unpacked and MD5 sums checked\n** using staged installation\n** R\n** data\n** inst\n** byte-compile and prepare package for lazy loading\nError in dyn.load(file, DLLpath = DLLpath, ...) : \n unable to load shared object \'/home/ecoevo/R/x86_64-pc-linux-gnu-library/3.6/sf/libs/sf.so\':\n libproj.so.13: cannot open shared object file: No such file or directory\nCalls: <Anonymous> ... …Run Code Online (Sandbox Code Playgroud)