* installing *source* package ‘kmcudaR’ ...
** package ‘kmcudaR’ successfully unpacked and MD5 sums checked
** using staged installation
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
Checking for C++ Compiler
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking "Checking environment variable CUDA_HOME"... sort: invalid option -- V
Try `sort --help' for more information.
"CUDA_HOME not set; using highest version found "
checking for /bin/nvcc... no
configure: error: "NVCC not found; check CUDA install"
ERROR: configuration failed for package ‘kmcudaR’
* removing ‘/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/results/3.6/kmcudaR.Rcheck/kmcudaR’