• using R version 2.14.2 (2012-02-29)
  • using platform: i386-pc-mingw32 (32-bit)
  • using session charset: ISO8859-1
  • checking for file 'HFWutils/DESCRIPTION' ... OK
  • this is package 'HFWutils' version '0.9.5.2011.03.21'
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking whether package 'HFWutils' can be installed ... OK
  • checking installed package size ... 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 ... OK
  • checking whether the package can be unloaded cleanly ... OK
  • checking whether the namespace can be loaded with stated dependencies ... OK
  • checking whether the namespace can be unloaded cleanly ... OK
  • checking for unstated dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... NOTE
    File 'HFWutils/R/onloadetc.r':
    .onLoad calls:
    require(methods)

    Package startup functions should not change the search path.
    See section 'Good practice' in ?.onAttach.
  • checking Rd files ... NOTE
    prepare_Rd: import.X2R.Files.Rd:30-32: Dropping empty section \examples
    prepare_Rd: initReplaceBy.Rd:29-31: Dropping empty section \examples
    prepare_Rd: inst.Rd:22-25: Dropping empty section \examples
    prepare_Rd: matrix2df.Rd:29: Dropping empty section \examples
  • 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 for unstated dependencies in examples ... OK
  • checking contents of 'data' directory ... OK
  • checking data for non-ASCII characters ... OK
  • checking data for ASCII and uncompressed saves ... OK
  • checking examples ... ERROR
    Running examples in 'HFWutils-Ex.R' failed
    The error most likely occurred in:

    > ### Name: profiling
    > ### Title: plots tree of execution times
    > ### Aliases: profiling
    > ### Keywords: manip
    >
    > ### ** Examples
    >
    > #############################################################################
    >
    > y <- 0
    >
    > testFunction1 <- function(X)
    + {
    + for (x in 1:X) {y <- y + x}
    + return(y)
    + } # function
    > testFunction2 <- function(X) testFunction1(X)
    > testFunction3 <- function(X) testFunction1(X)
    > testFunction4 <- function() {
    + testFunction2(1000000)
    + testFunction3(1000000)
    + } # testFunction4
    >
    > ##############################################################################
    > # namespacePackage <- find.funs("package:base")
    > myFunctionsBase <- find.funs(pos=1)
    > ##ByRef is R.oo-based; R.oo-based contructions don't seem to work with the foodweb from the mvbutils package
    >
    >
    > s1<-profiling(myFunction=testFunction4,myFunctionsBase=myFunctionsBase,plotType = "profilingAll")
    > s2<-profiling(myFunction=testFunction4,myFunctionsBase=myFunctionsBase,plotType = "profilingTopQuantile")
    > s3<-profiling(myFunction=testFunction4,myFunctionsBase=myFunctionsBase,plotType = "foodwebAll")
    Error in summaryRprof(tmp) : no events were recorded
    Calls: profiling -> summaryRprof
    Execution halted