############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data fastreeR ### ############################################################################## ############################################################################## * checking for file ‘fastreeR/DESCRIPTION’ ... OK * preparing ‘fastreeR’: * checking DESCRIPTION meta-information ... OK * installing the package to build vignettes ----------------------------------- * installing *source* package ‘fastreeR’ ... ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location Warning in fun(libname, pkgname) : JAVA_HOME is set incorrectly! Ingoring. The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java. Warning in system("/usr/libexec/java_home", intern = TRUE) : running command '/usr/libexec/java_home' had status 1 Warning in fun(libname, pkgname) : Cannot find JVM library 'NA/lib/server/libjvm.dylib' Install Java and/or check JAVA_HOME (if in doubt, do NOT set it, it will be detected) Error: package or namespace load failed for ‘fastreeR’: .onLoad failed in loadNamespace() for 'fastreeR', details: call: NULL error: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JVM could not be found Error: loading failed Execution halted ERROR: loading failed * removing ‘/private/tmp/RtmppCWFrN/Rinst131a24dc2232b/fastreeR’ ----------------------------------- ERROR: package installation failed