Last updated on 2020-08-07 01:50:24 CEST.
Package | FAIL | ERROR | OK |
---|---|---|---|
iRF | 1 | 3 | 8 |
Current CRAN status: FAIL: 1, ERROR: 3, OK: 8
Version: 2.0.0
Check: running examples for arch ‘i386’
Result: ERROR
Running examples in 'iRF-Ex.R' failed
The error most likely occurred in:
> ### Name: readForest
> ### Title: Pass data through a fitted forest, record node characteristics
> ### [works for binary classification with continuous variables]
> ### Aliases: readForest
>
> ### ** Examples
>
> n = 50; p = 10
> X = array(rnorm(n*p), c(n, p))
> Y = (X[,1]>0.35 & X[,2]>0.35)|(X[,5]>0.35 & X[,7]>0.35)
> Y = as.factor(as.numeric(Y>0))
>
> train.id = 1:(n/2)
> test.id = setdiff(1:n, train.id)
>
> rf <- randomForest(x=X, y=Y, keep.forest=TRUE, track.nodes=TRUE,
+ ntree=100)
> rforest <- readForest(rfobj=rf, x=X, n.core=2)
> head(rforest$tree_info)
NULL
>
> # count number of leaf nodes with at least 5 observations
> sum(rforest$tree.info$size.node > 5)
[1] 284
>
>
>
>
> cleanEx()
Error: connections left open:
<-CRANwin.fb05.statistik.uni-dortmund.de:11071 (sockconn)
<-CRANwin.fb05.statistik.uni-dortmund.de:11071 (sockconn)
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 2.0.0
Check: running examples for arch ‘x64’
Result: ERROR
Running examples in 'iRF-Ex.R' failed
The error most likely occurred in:
> ### Name: readForest
> ### Title: Pass data through a fitted forest, record node characteristics
> ### [works for binary classification with continuous variables]
> ### Aliases: readForest
>
> ### ** Examples
>
> n = 50; p = 10
> X = array(rnorm(n*p), c(n, p))
> Y = (X[,1]>0.35 & X[,2]>0.35)|(X[,5]>0.35 & X[,7]>0.35)
> Y = as.factor(as.numeric(Y>0))
>
> train.id = 1:(n/2)
> test.id = setdiff(1:n, train.id)
>
> rf <- randomForest(x=X, y=Y, keep.forest=TRUE, track.nodes=TRUE,
+ ntree=100)
> rforest <- readForest(rfobj=rf, x=X, n.core=2)
> head(rforest$tree_info)
NULL
>
> # count number of leaf nodes with at least 5 observations
> sum(rforest$tree.info$size.node > 5)
[1] 284
>
>
>
>
> cleanEx()
Error: connections left open:
<-CRANwin.fb05.statistik.uni-dortmund.de:11111 (sockconn)
<-CRANwin.fb05.statistik.uni-dortmund.de:11111 (sockconn)
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 2.0.0
Check: running examples for arch ‘i386’
Result: ERROR
Running examples in 'iRF-Ex.R' failed
The error most likely occurred in:
> ### Name: readForest
> ### Title: Pass data through a fitted forest, record node characteristics
> ### [works for binary classification with continuous variables]
> ### Aliases: readForest
>
> ### ** Examples
>
> n = 50; p = 10
> X = array(rnorm(n*p), c(n, p))
> Y = (X[,1]>0.35 & X[,2]>0.35)|(X[,5]>0.35 & X[,7]>0.35)
> Y = as.factor(as.numeric(Y>0))
>
> train.id = 1:(n/2)
> test.id = setdiff(1:n, train.id)
>
> rf <- randomForest(x=X, y=Y, keep.forest=TRUE, track.nodes=TRUE,
+ ntree=100)
> rforest <- readForest(rfobj=rf, x=X, n.core=2)
> head(rforest$tree_info)
NULL
>
> # count number of leaf nodes with at least 5 observations
> sum(rforest$tree.info$size.node > 5)
[1] 284
>
>
>
>
> cleanEx()
Error: connections left open:
<-CRANwin.fb05.statistik.uni-dortmund.de:11320 (sockconn)
<-CRANwin.fb05.statistik.uni-dortmund.de:11320 (sockconn)
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 2.0.0
Check: running examples for arch ‘x64’
Result: ERROR
Running examples in 'iRF-Ex.R' failed
The error most likely occurred in:
> ### Name: readForest
> ### Title: Pass data through a fitted forest, record node characteristics
> ### [works for binary classification with continuous variables]
> ### Aliases: readForest
>
> ### ** Examples
>
> n = 50; p = 10
> X = array(rnorm(n*p), c(n, p))
> Y = (X[,1]>0.35 & X[,2]>0.35)|(X[,5]>0.35 & X[,7]>0.35)
> Y = as.factor(as.numeric(Y>0))
>
> train.id = 1:(n/2)
> test.id = setdiff(1:n, train.id)
>
> rf <- randomForest(x=X, y=Y, keep.forest=TRUE, track.nodes=TRUE,
+ ntree=100)
> rforest <- readForest(rfobj=rf, x=X, n.core=2)
> head(rforest$tree_info)
NULL
>
> # count number of leaf nodes with at least 5 observations
> sum(rforest$tree.info$size.node > 5)
[1] 284
>
>
>
>
> cleanEx()
Error: connections left open:
<-CRANwin.fb05.statistik.uni-dortmund.de:11466 (sockconn)
<-CRANwin.fb05.statistik.uni-dortmund.de:11466 (sockconn)
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 2.0.0
Check: whether package can be installed
Result: FAIL
Flavor: r-oldrel-macos-x86_64
Version: 2.0.0
Check: running examples for arch ‘i386’
Result: ERROR
Running examples in 'iRF-Ex.R' failed
The error most likely occurred in:
> ### Name: readForest
> ### Title: Pass data through a fitted forest, record node characteristics
> ### [works for binary classification with continuous variables]
> ### Aliases: readForest
>
> ### ** Examples
>
> n = 50; p = 10
> X = array(rnorm(n*p), c(n, p))
> Y = (X[,1]>0.35 & X[,2]>0.35)|(X[,5]>0.35 & X[,7]>0.35)
> Y = as.factor(as.numeric(Y>0))
>
> train.id = 1:(n/2)
> test.id = setdiff(1:n, train.id)
>
> rf <- randomForest(x=X, y=Y, keep.forest=TRUE, track.nodes=TRUE,
+ ntree=100)
> rforest <- readForest(rfobj=rf, x=X, n.core=2)
> head(rforest$tree_info)
NULL
>
> # count number of leaf nodes with at least 5 observations
> sum(rforest$tree.info$size.node > 5)
[1] 293
>
>
>
>
> cleanEx()
Error: connections left open:
<-CRANwin.fb05.statistik.uni-dortmund.de:11395 (sockconn)
<-CRANwin.fb05.statistik.uni-dortmund.de:11395 (sockconn)
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64
Version: 2.0.0
Check: running examples for arch ‘x64’
Result: ERROR
Running examples in 'iRF-Ex.R' failed
The error most likely occurred in:
> ### Name: readForest
> ### Title: Pass data through a fitted forest, record node characteristics
> ### [works for binary classification with continuous variables]
> ### Aliases: readForest
>
> ### ** Examples
>
> n = 50; p = 10
> X = array(rnorm(n*p), c(n, p))
> Y = (X[,1]>0.35 & X[,2]>0.35)|(X[,5]>0.35 & X[,7]>0.35)
> Y = as.factor(as.numeric(Y>0))
>
> train.id = 1:(n/2)
> test.id = setdiff(1:n, train.id)
>
> rf <- randomForest(x=X, y=Y, keep.forest=TRUE, track.nodes=TRUE,
+ ntree=100)
> rforest <- readForest(rfobj=rf, x=X, n.core=2)
> head(rforest$tree_info)
NULL
>
> # count number of leaf nodes with at least 5 observations
> sum(rforest$tree.info$size.node > 5)
[1] 284
>
>
>
>
> cleanEx()
Error: connections left open:
<-CRANwin.fb05.statistik.uni-dortmund.de:11359 (sockconn)
<-CRANwin.fb05.statistik.uni-dortmund.de:11359 (sockconn)
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64