I am trying to install a package from github. I kept getting an error.
sh: rm: command not found
sh: mv: command not found
Warning in system(paste("mv -f", shQuote(instdir), shQuote(dirname(final_instdir)))) :
error in running command
ERROR: moving to final location failed
I have my PATH variable correct
Sys.getenv('PATH')
[1] "/usr/local/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
also I am able to run
system("mv")
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
I also have XCode installed
xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Any help?