CRAN Package Check Results for Package emil

Last updated on 2018-07-17 01:47:01 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.2.8 16.71 69.87 86.58 ERROR
r-devel-linux-x86_64-debian-gcc 2.2.8 15.19 75.12 90.31 WARN
r-devel-linux-x86_64-fedora-clang 2.2.8 147.48 WARN
r-devel-linux-x86_64-fedora-gcc 2.2.8 141.41 WARN
r-devel-windows-ix86+x86_64 2.2.8 54.00 223.00 277.00 WARN
r-patched-linux-x86_64 2.2.8 17.77 90.38 108.15 WARN
r-patched-solaris-x86 2.2.8 175.20 WARN
r-release-linux-x86_64 2.2.8 15.95 89.63 105.58 WARN
r-release-windows-ix86+x86_64 2.2.8 53.00 166.00 219.00 OK
r-release-osx-x86_64 2.2.8 NOTE
r-oldrel-windows-ix86+x86_64 2.2.8 31.00 167.00 198.00 OK
r-oldrel-osx-x86_64 2.2.8 WARN

Check Details

Version: 2.2.8
Check: use of S3 registration
Result: WARN
    Registered S3 method from a standard package overwritten by 'emil':
     method from
     plot.Surv survival
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, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64

Version: 2.2.8
Check: examples
Result: ERROR
    Running examples in ‘emil-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: evaluate
    > ### Title: Evaluate a modeling procedure
    > ### Aliases: evaluate
    >
    > ### ** Examples
    >
    > x <- iris[-5]
    > y <- iris$Species
    > cv <- resample("crossvalidation", y, nfold = 4, nrepeat = 4)
    > result <- evaluate("lda", x, y, resample=cv)
    15 Jul 20:28 Evaluating modeling performance...
    15 Jul 20:28 Repeat 1, fold 1
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    Loading required namespace: MASS
     Result size is 81.07 KiB.
     Estimated completion time is 20:28.
    15 Jul 20:28 Repeat 1, fold 2
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 1, fold 3
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 1, fold 4
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 2, fold 1
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 2, fold 2
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 2, fold 3
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 2, fold 4
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 3, fold 1
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 3, fold 2
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 3, fold 3
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 3, fold 4
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 4, fold 1
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 4, fold 2
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 4, fold 3
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    15 Jul 20:28 Repeat 4, fold 4
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting lda
    >
    > # Multiple procedures fitted and tested simultaneously.
    > # This is useful when the dataset is large and the splitting takes a long time.
    > # If you name the elements of the list emil will also name the elements of the
    > # results object in the same way.
    > result <- evaluate(c(Linear = "lda", Quadratic = "qda"), x, y, resample=cv)
    15 Jul 20:28 Evaluating modeling performance...
    15 Jul 20:28 Repeat 1, fold 1
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
     Result size is 162.68 KiB.
     Estimated completion time is 20:28.
    15 Jul 20:28 Repeat 1, fold 2
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 1, fold 3
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 1, fold 4
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 2, fold 1
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 2, fold 2
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 2, fold 3
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 2, fold 4
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 3, fold 1
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 3, fold 2
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 3, fold 3
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 3, fold 4
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 4, fold 1
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 4, fold 2
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 4, fold 3
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    15 Jul 20:28 Repeat 4, fold 4
    15 Jul 20:28 Extracting fitting and testing datasets.
    15 Jul 20:28 Fitting Linear
    15 Jul 20:28 Fitting Quadratic
    >
    > # Multicore parallelization (on a single computer)
    > result <- evaluate("lda", x, y, resample=cv, .cores=2)
    15 Jul 20:28 Evaluating modeling performance...
    Loading required namespace: parallel
    15 Jul 20:28 Repeat 1, fold 1
    15 Jul 20:28 Repeat 1, fold 2
    15 Jul 20:28 Repeat 1, fold 3
    15 Jul 20:28 Repeat 2, fold 1
    15 Jul 20:28 Repeat 1, fold 4
    15 Jul 20:28 Repeat 2, fold 3
    15 Jul 20:28 Repeat 2, fold 2
    15 Jul 20:28 Repeat 3, fold 1
    15 Jul 20:28 Repeat 2, fold 4
    15 Jul 20:28 Repeat 3, fold 3
    15 Jul 20:28 Repeat 3, fold 2
    15 Jul 20:28 Repeat 4, fold 1
    15 Jul 20:28 Repeat 3, fold 4
    15 Jul 20:28 Repeat 4, fold 3
    15 Jul 20:28 Repeat 4, fold 2
    15 Jul 20:28 Repeat 4, fold 4
    >
    > # Parallelization using a cluster (not limited to a single computer)
    > # PSOCK is supported on windows too!
    > require(parallel)
    Loading required package: parallel
    > cl <- makePSOCKcluster(2)
    > clusterEvalQ(cl, library(emil))
    [[1]]
    [1] "emil" "stats" "graphics" "grDevices" "utils" "datasets"
    [7] "methods" "base"
    
    [[2]]
    [1] "emil" "stats" "graphics" "grDevices" "utils" "datasets"
    [7] "methods" "base"
    
    > clusterExport(cl, c("x", "y"))
    > result <- parLapply(cl, cv, function(fold)
    + evaluate("lda", x, y, resample=fold))
    >
    >
    >
    >
    > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
    > base::cat("evaluate", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
    > cleanEx()
    
    detaching ‘package:parallel’
    
    Error: connections left open:
     <-localhost:11352 (sockconn)
     <-localhost:11352 (sockconn)
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.2.8
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘Rcpp’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 2.2.8
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     Warning: Installed Rcpp (0.12.12) different from Rcpp used to build dplyr (0.12.11).
Flavor: r-oldrel-osx-x86_64