############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data paxtoolsr ### ############################################################################## ############################################################################## * checking for file ‘paxtoolsr/DESCRIPTION’ ... OK * preparing ‘paxtoolsr’: * checking DESCRIPTION meta-information ... OK * installing the package to build vignettes ----------------------------------- * installing *source* package ‘paxtoolsr’ ... ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java. Error: package or namespace load failed for ‘rJava’: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JVM could not be found In addition: Warning messages: 1: In fun(libname, pkgname) : JAVA_HOME is set incorrectly! Ingoring. 2: In system("/usr/libexec/java_home", intern = TRUE) : running command '/usr/libexec/java_home' had status 1 3: 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) Execution halted ERROR: lazy loading failed for package ‘paxtoolsr’ * removing ‘/private/tmp/RtmpUzZ0nU/Rinst15bd489c1320/paxtoolsr’ ----------------------------------- ERROR: package installation failed