Dear List, (Posting here as I'm not 100% certain this is a bug as I am very unfamiliar with code in the tools package) In the function tools:::.check_package_depends there is the following code (from SVN Trunk but also in 3.1 branch) http://svn.r-project.org/R/trunk/src/library/tools/R/QC.R if (length(lreqs)) { reqs <- unique(sapply(lreqs, `[[`, 1L)) reqs <- setdiff(reqs, installed) m <- reqs %in% standard_package_names$stubs if(length(reqs[!m])) { bad <- reqs[!m] ## EDanalysis has a package in all of Depends, Imports, Suggests. bad1 <- bad[bad %in% c(depends, imports, links)] if(length(bad1)) bad_depends$required_but_not_installed <- bad1 bad2 <- setdiff(bad, bad1) if(length(bad2)) bad_depends$suggested_but_not_installed <- bad3 } In the last line, the object bad3 is assigned to a component of bad_depends. I can't see any other reference to bad3 in the function nor the QC.R file in which the function is defined. If I follow the intention, the fix is trivial if(length(bad2)) bad_depends$suggested_but_not_installed <- bad2 I came across this when checking a package of mine and I hit the following error: * checking package dependencies ...Error in .check_package_depends(pkgdir, R_check_force_suggests, check_incoming) : object 'bad3' not found Thanks in advance Gavin -- Gavin Simpson, PhD [[alternative HTML version deleted]]