Thanks for your suggestion,It is so strange but it really works.By the way,I met this problem on another machine;
checking for R packages...
rPkgsInstall -pkgs ALL -check : FAILURE
oo Warning:
These packages are not installed on the computer: afex!
These packages are not installed on the computer: brms!
These packages are not installed on the computer: metafor!
After I uesd 'rPkgsInstall -pkgs 'metafor' ' to install metafor. There is a problem as shown below:
Installing package into ‘/home/boyden/R’
(as ‘lib’ is unspecified)
++ Note: @ 11:09:53
This package has been installed on the computer: metafor
Warning message:
package ‘metafor’ is not available (for R version 3.4.4)
How should I solve this problem ,Thanks for your suggestion!