CRAN Package Check Results for Package spsurvey

Last updated on 2015-08-30 23:48:00.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0 6.78 238.57 245.35 NOTE
r-devel-linux-x86_64-debian-gcc 3.0 8.18 257.05 265.23 NOTE
r-devel-linux-x86_64-fedora-clang 3.0 500.16 NOTE
r-devel-linux-x86_64-fedora-gcc 3.0 529.18 NOTE
r-devel-osx-x86_64-clang 3.0 369.79 OK
r-devel-windows-ix86+x86_64 3.0 56.00 394.00 450.00 NOTE
r-patched-linux-x86_64 3.0 8.12 266.20 274.32 OK
r-patched-solaris-sparc 3.0 2549.60 ERROR
r-patched-solaris-x86 3.0 989.50 OK
r-release-linux-x86_64 3.0 8.36 267.84 276.20 OK
r-release-osx-x86_64-mavericks 3.0 OK
r-release-windows-ix86+x86_64 3.0 46.00 419.00 465.00 OK
r-oldrel-windows-ix86+x86_64 3.0 48.00 438.00 486.00 OK

Memtest notes: valgrind

Check Details

Version: 3.0
Check: R code for possible problems
Result: NOTE
    attrisk.est: no visible global function definition for ‘qnorm’
    attrisk.est: no visible global function definition for ‘ftable’
    attrisk.est: no visible global function definition for ‘addmargins’
    attrisk.var: no visible global function definition for ‘var’
    category.est: no visible global function definition for ‘qnorm’
    catvar.prop: no visible binding for global variable ‘var’
    catvar.size: no visible binding for global variable ‘var’
    cdf.decon: no visible global function definition for ‘qnorm’
    cdf.est: no visible global function definition for ‘qnorm’
    cdf.plot: no visible global function definition for ‘par’
    cdf.plot: no visible global function definition for ‘lines’
    cdf.plot: no visible global function definition for ‘title’
    cdf.plot: no visible global function definition for ‘legend’
    cdf.plot: no visible global function definition for ‘axis’
    cdf.plot: no visible global function definition for ‘mtext’
    cdf.test: no visible global function definition for ‘pchisq’
    cdf.test: no visible global function definition for ‘pf’
    cdf.test: no visible global function definition for ‘var’
    cdfvar.prop: no visible binding for global variable ‘var’
    cdfvar.size.prop: no visible binding for global variable ‘var’
    cdfvar.size.total: no visible binding for global variable ‘var’
    cdfvar.test: no visible global function definition for ‘var’
    cdfvar.total: no visible binding for global variable ‘var’
    change.est: no visible global function definition for ‘qnorm’
    changevar.mean: no visible global function definition for ‘var’
    changevar.prop: no visible global function definition for ‘var’
    changevar.size: no visible global function definition for ‘var’
    cont.cdfplot: no visible global function definition for ‘pdf’
    cont.cdfplot: no visible global function definition for ‘par’
    cont.cdfplot: no visible global function definition for ‘graphics.off’
    dcdfvar.prop: no visible binding for global variable ‘var’
    dcdfvar.size.prop: no visible binding for global variable ‘var’
    dcdfvar.size.total: no visible binding for global variable ‘var’
    dcdfvar.total: no visible binding for global variable ‘var’
    dsgnsum: no visible global function definition for ‘addmargins’
    framesum: no visible global function definition for ‘addmargins’
    grtsarea: no visible global function definition for ‘runif’
    grtslin: no visible global function definition for ‘runif’
    grtspts: no visible global function definition for ‘runif’
    irsarea: no visible global function definition for ‘runif’
    irslin: no visible global function definition for ‘runif’
    localmean.weight: no visible global function definition for ‘dist’
    localmean.weight: no visible global function definition for ‘rnorm’
    localmean.weight2: no visible global function definition for ‘dist’
    plot.SpatialDesign: no visible global function definition for ‘pdf’
    plot.SpatialDesign: no visible global function definition for ‘points’
    plot.SpatialDesign: no visible global function definition for ‘rainbow’
    plot.SpatialDesign: no visible global function definition for ‘legend’
    plot.SpatialDesign: no visible global function definition for
     ‘graphics.off’
    relrisk.est: no visible global function definition for ‘qnorm’
    relrisk.est: no visible global function definition for ‘ftable’
    relrisk.est: no visible global function definition for ‘addmargins’
    relrisk.var: no visible global function definition for ‘var’
    simex: no visible global function definition for ‘pnorm’
    simex: no visible global function definition for ‘dnorm’
    spsurvey.analysis: no visible global function definition for
     ‘model.frame’
    total.est: no visible global function definition for ‘qnorm’
    total.var: no visible global function definition for ‘var’
    total.var: no visible binding for global variable ‘var’
    write.object: no visible global function definition for ‘text’
    write.object: no visible global function definition for ‘box’
    plot,SpatialDesign-missing: no visible global function definition for
     ‘pdf’
    plot,SpatialDesign-missing: no visible global function definition for
     ‘points’
    plot,SpatialDesign-missing: no visible global function definition for
     ‘rainbow’
    plot,SpatialDesign-missing: no visible global function definition for
     ‘legend’
    plot,SpatialDesign-missing: no visible global function definition for
     ‘graphics.off’
    Undefined global functions or variables:
     addmargins axis box dist dnorm ftable graphics.off legend lines
     model.frame mtext par pchisq pdf pf pnorm points qnorm rainbow rnorm
     runif text title var
    Consider adding
     importFrom("grDevices", "graphics.off", "pdf", "rainbow")
     importFrom("graphics", "axis", "box", "legend", "lines", "mtext",
     "par", "points", "text", "title")
     importFrom("stats", "addmargins", "dist", "dnorm", "ftable",
     "model.frame", "pchisq", "pf", "pnorm", "qnorm", "rnorm",
     "runif", "var")
    to your NAMESPACE.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64

Version: 3.0
Check: running R code from vignettes
Result: ERROR
    Errors in running code in vignettes:
    when running code in ‘Area_Design.Rnw’
     ...
     5: withVisible(eval(ei, envir))
     6: source(output, echo = TRUE)
     7: doTryCatch(return(expr), name, parentenv, handler)
     8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     9: tryCatchList(expr, classes, parentenv, handlers)
    10: tryCatch({ source(output, echo = TRUE)}, error = function(e) { cat("\n When sourcing ", sQuote(output), ":\n", sep = "") stop(conditionMessage(e), call. = FALSE, domain = NA)})
    11: tools:::.run_one_vignette("Area_Design.Rnw", "/home/ripley/R/packages/tests32/spsurvey/vignettes", pkgdir = "/home/ripley/R/packages/tests32/spsurvey")
    aborting ...
    
    ... incomplete output. Crash?
    when running code in ‘Finite_Design.Rnw’
     ...
    Initial number of levels: 5
    Current number of levels: 5
    Error: Reading .shp file in grtspts.c
    Error: In C function cWtFcn.
    
     When sourcing ‘Finite_Design.R’:
    Error:
    An error occured while determining the number of levels for hierarchical
    randomization.
    Execution halted
    when running code in ‘Linear_Design.Rnw’
     ...
    Initial number of levels: 3
    Current number of levels: 3
    Error: reading shape file in C function lintFcn.
    Error: In C function lintFcn.
    
     When sourcing ‘Linear_Design.R’:
    Error:
    An error occured while determining the number of levels for hierarchical
    randomization.
    Execution halted
Flavor: r-patched-solaris-sparc

Version: 3.0
Check: re-building of vignette outputs
Result: NOTE
    Error in re-building vignettes:
     ...
    address b2c00000, cause 'memory not mapped'
    
    Traceback:
     1: .Call("readDbfFile", filename)
     2: read.dbf("UT_ecoregions")
     3: eval(expr, envir, enclos)
     4: eval(expr, .GlobalEnv)
     5: withVisible(eval(expr, .GlobalEnv))
     6: doTryCatch(return(expr), name, parentenv, handler)
     7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     8: tryCatchList(expr, classes, parentenv, handlers)
     9: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <- strsplit(msg, "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = stderr()) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))})
    10: try(withVisible(eval(expr, .GlobalEnv)), silent = TRUE)
    11: evalFunc(ce, options)
    12: tryCatchList(expr, classes, parentenv, handlers)
    13: tryCatch(evalFunc(ce, options), finally = { cat("\n") sink()})
    14: driver$runcode(drobj, chunk, chunkopts)
    15: utils::Sweave(...)
    16: engine$weave(file, quiet = quiet, encoding = enc)
    17: doTryCatch(return(expr), name, parentenv, handler)
    18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    19: tryCatchList(expr, classes, parentenv, handlers)
    20: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) find_vignette_product(name, by = "weave", engine = engine)}, error = function(e) { stop(gettextf("processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)), domain = NA, call. = FALSE)})
    21: buildVignettes(dir = "/home/ripley/R/packages/tests32/spsurvey.Rcheck/vign_test/spsurvey")
    aborting ...
Flavor: r-patched-solaris-sparc