I've been updating a package and, when installing a local devel version, I get an error "object 'confusionMatrix' not found whilst loading namespace". Looking around online, it appears that this might be related to loading a specific RData file, but it doesn't seem to be the case AFAICT.
I've installed the devel version in the last week without issues and the confusionMatrix code has been touched in a while. Thanks, Max > sessionInfo() R version 2.11.1 (2010-05-31) x86_64-apple-darwin9.8.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] caret_4.71 reshape_0.8.3 plyr_1.2.1 lattice_0.18-8 loaded via a namespace (and not attached): [1] grid_2.11.1 pkg_kuhna03$ R CMD INSTALL caret * installing to library ‘/Library/Frameworks/R.framework/Resources/library’ * installing *source* package ‘caret’ ... ** libs *** arch - i386 gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -I/usr/local/include -fPIC -g -O2 -c caret.c -o caret.o gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o caret.so caret.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Library/Frameworks/R.framework/Resources/library/caret/libs/i386 *** arch - x86_64 gcc -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -I/usr/local/include -fPIC -g -O2 -c caret.c -o caret.o gcc -arch x86_64 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o caret.so caret.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Library/Frameworks/R.framework/Resources/library/caret/libs/x86_64 ** R ** data ** inst ** preparing package for lazy loading Loading required package: plyr Attaching package: 'reshape' The following object(s) are masked from 'package:plyr': round_any ** help *** installing help indices ** building package indices ... ** testing if installed package can be loaded Error : object 'confusionMatrix' not found whilst loading namespace 'caret' ERROR: loading failed * removing ‘/Library/Frameworks/R.framework/Resources/library/caret’ * restoring previous ‘/Library/Frameworks/R.framework/Resources/library/caret’ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel