Ah yes, this is likely to be the issue: \fnyipw01\HOB_FID_Home\ga
That indicates that your R package library is located on a network drive, not somewhere locally on your computer. When this is the case, R can have troubles loading compilation dependencies from installed packages.
To resolve this, you need to move your package library to somewhere on your local computer. If you’re not sure how to do this, I wrote some instructions in a previous post, you’ll just need to change the target directory: Modeling failed Warnings: 'C:/Users/R-34~1.3/rtools40/usr/mingw_/bin/g++' not found Errors: Multiple results for CXX14FLAGS found, something is wrong.FALSE - #54 by andrjohns