Last updated on 2025-11-25 21:49:55 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.4.1 | 18.24 | 28.30 | 46.54 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.4.1 | 14.23 | 21.99 | 36.22 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.4.1 | 39.00 | 34.06 | 73.06 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.4.1 | 51.00 | 27.79 | 78.79 | OK | |
| r-devel-windows-x86_64 | 1.4.1 | 24.00 | 68.00 | 92.00 | OK | |
| r-patched-linux-x86_64 | 1.4.1 | 19.85 | 26.48 | 46.33 | OK | |
| r-release-linux-x86_64 | 1.4.1 | 19.19 | 26.36 | 45.55 | OK | |
| r-release-macos-arm64 | 1.4.1 | OK | ||||
| r-release-macos-x86_64 | 1.4.1 | 11.00 | 26.00 | 37.00 | OK | |
| r-release-windows-x86_64 | 1.4.1 | 24.00 | 80.00 | 104.00 | OK | |
| r-oldrel-macos-arm64 | 1.4.1 | OK | ||||
| r-oldrel-macos-x86_64 | 1.4.1 | 10.00 | 27.00 | 37.00 | OK | |
| r-oldrel-windows-x86_64 | 1.4.1 | 23.00 | 77.00 | 100.00 | OK |
Version: 1.4.1
Check: examples
Result: ERROR
Running examples in ‘brif-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: brif
> ### Title: Build a model (and make predictions)
> ### Aliases: brif
>
> ### ** Examples
>
> trainset <- sample(1:nrow(iris), 0.5*nrow(iris))
> validset <- setdiff(1:nrow(iris), trainset)
>
> # Train and predict at once
> pred_scores <- brif(Species~., data = iris, subset = trainset,
+ newdata = iris[validset, 1:4], type = 'score')
> pred_labels <- brif(Species~., data = iris, subset = trainset,
+ newdata = iris[validset, 1:4], type = 'class')
>
> # Confusion matrix
> table(pred_labels, iris[validset, 5])
pred_labels setosa versicolor virginica
setosa 22 4 0
versicolor 0 26 2
virginica 0 0 21
>
> # Accuracy
> sum(pred_labels == iris[validset, 5])/length(validset)
[1] 0.92
>
> # Train using the formula format
> bf <- brif(Species~., data = iris, subset = trainset)
>
> # Or equivalently, train using the data.frame format
> bf <- brif(iris[trainset, c(5,1:4)])
>
> # Make a prediction
> pred_scores <- predict(bf, iris[validset, 1:4], type = 'score')
> pred_labels <- predict(bf, iris[validset, 1:4], type = 'class')
>
> # Regression
> bf <- brif(mpg ~., data = mtcars)
> pred <- predict(bf, mtcars[2:11])
*** caught segfault ***
address 0x74, cause 'memory not mapped'
Traceback:
1: rfpredict(object, newdata, as.integer(vote_method), as.integer(nthreads))
2: predict.brif(bf, mtcars[2:11])
3: predict(bf, mtcars[2:11])
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault
Flavor: r-devel-linux-x86_64-debian-gcc