Can't run 3dlmer command in macOS

I’m new to AFNI and I’m trying to run a 3dlmer.txt command and it kept failing like this:
Failed with error: ‘找不到‘lmerTest’所需要的程辑包‘lme4’’( means can’t find the ‘lme4’ package that the ‘lmerTest’ needs);
Failed with error: Can’t find the ‘car’ package that the ‘lmerTest’ needs.
I’ve installed rPkgsInstall -pkgs ALL, gfortran-6.1.pkg and R libraries as your website instructed, but seems to have failed to install some packages.
I’ve attached the system check.
Can you help me out here? Much appreciated the reply!