* using log directory 'd:/Rcompile/CRANpkg/local/2.11/ggplot2.Rcheck' * using R version 2.11.1 Patched (2010-07-29 r52657) * using session charset: ISO8859-1 * checking for file 'ggplot2/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'ggplot2' version '0.8.9' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'ggplot2' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... WARNING Loading required package: reshape Loading required package: plyr Attaching package: 'reshape' The following object(s) are masked from 'package:plyr': rename, round_any Loading required package: grid Loading required package: proto Error in rename(x, .base_to_ggplot) : could not find function "setNames" Error : unable to load R code in package 'ggplot2' Error: package/namespace load failed for 'ggplot2' Execution halted It looks like this package (or one of its dependent packages) has an unstated dependence on a standard package. All dependencies must be declared in DESCRIPTION. See the information on DESCRIPTION files in the chapter 'Creating R packages' of the 'Writing R Extensions' manual. * checking whether the package can be unloaded cleanly ... OK * checking whether the name space can be loaded with stated dependencies ... WARNING Loading required package: proto Loading required package: grid Loading required package: reshape Loading required package: plyr Attaching package: 'reshape' The following object(s) are masked from 'package:plyr': rename, round_any Error in rename(x, .base_to_ggplot) : could not find function "setNames" Error: unable to load R code in package 'ggplot2' Execution halted A namespace must be able to be loaded with just the base namespace loaded: otherwise if the namespace gets loaded by a saved object, the session will be unable to start. Probably some imports need to be declared in the NAMESPACE file. * checking whether the name space can be unloaded cleanly ... OK * checking for unstated dependencies in R code ... WARNING Error: package/namespace load failed for 'ggplot2' Call sequence: 2: stop(gettextf("package/namespace load failed for '%s'", package), call. = FALSE, domain = NA) 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) Execution halted See the information on DESCRIPTION files in the chapter 'Creating R packages' of the 'Writing R Extensions' manual. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE borders: no visible binding for global variable 'long' borders: no visible binding for global variable 'lat' borders: no visible binding for global variable 'group' collide: no visible binding for global variable 'x' collide: no visible binding for global variable 'y' collide: no visible binding for global variable 'ymax' compute_intercept: no visible binding for global variable 'group' ggfluctuation: no visible binding for global variable 'x' ggfluctuation: no visible binding for global variable 'y' ggfluctuation: no visible binding for global variable 'result' ggfluctuation: no visible binding for global variable 'freq' label_bquote: no visible binding for global variable 'x' plotmatrix: no visible binding for global variable 'x' plotmatrix: no visible binding for global variable 'y' plotmatrix: no visible binding for global variable '..scaled..' summarise_by_x: no visible binding for global variable 'group' summarise_by_x: no visible binding for global variable 'x' * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking data for non-ASCII characters ... OK * checking examples ... OK * checking PDF version of manual ... OK