I use the following lines:
install.packages('devtools')
devtools::install_github('IRkernel/IRkernel')
but get warnings:
- installing source package ‘IRkernel’ ... Warning in as.POSIXlt.POSIXct(x, tz) : unknown timezone 'default/America/Los_Angeles' ** R ** inst ** tests ** preparing package for lazy loading xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Warning: running command '/usr/bin/otool -L /Library/Frameworks/R.framework/Versions/3.4/Resources/library/pbdZMQ/libs/pbdZMQ.so' had status 1 Error : .onLoad failed in loadNamespace() for 'pbdZMQ', details: call: if (org != fn.libzmq.4.dylib) { error: missing value where TRUE/FALSE needed ERROR: lazy loading failed for package ‘IRkernel’
- removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/IRkernel’
I try to solve this problem by
xcode-select --install
but get
Error: object 'xcode' not found