Last updated on 2024-03-28 19:48:38 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.2 | 5.74 | 65.54 | 71.28 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.2 | 4.52 | 51.71 | 56.23 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.2 | 97.03 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.2 | 99.82 | NOTE | |||
r-devel-windows-x86_64 | 1.0.2 | 6.00 | 63.00 | 69.00 | ERROR | |
r-patched-linux-x86_64 | 1.0.2 | 5.00 | 62.69 | 67.69 | OK | |
r-release-linux-x86_64 | 1.0.2 | 3.76 | 63.70 | 67.46 | OK | |
r-release-macos-arm64 | 1.0.2 | 43.00 | OK | |||
r-release-macos-x86_64 | 1.0.2 | 58.00 | OK | |||
r-release-windows-x86_64 | 1.0.2 | 8.00 | 78.00 | 86.00 | OK | |
r-oldrel-macos-arm64 | 1.0.2 | 32.00 | NOTE | |||
r-oldrel-windows-x86_64 | 1.0.2 | 9.00 | 87.00 | 96.00 | OK |
Version: 1.0.2
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘caret’ ‘e1071’ ‘ggthemes’ ‘mlbench’ ‘rmarkdown’ ‘tidymodels’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64
Version: 1.0.2
Check: examples
Result: ERROR
Running examples in 'OddsPlotty-Ex.R' failed
The error most likely occurred in:
> ### Name: odds_plot
> ### Title: odds_plot - a function to create Odds Plots
> ### Aliases: odds_plot
>
> ### ** Examples
>
> #We will use the cancer dataset to build a GLM model to predict cancer status
> #this will detail whether the patient has a benign or malignant
> library(mlbench)
> library(caret)
Loading required package: ggplot2
Loading required package: lattice
> library(tibble)
> library(ggplot2)
> library(OddsPlotty)
> library(e1071)
> library(ggthemes)
>
> #Bring in the data
> data("BreastCancer", package = "mlbench")
> breast <- BreastCancer[complete.cases(BreastCancer), ]
> breast <- breast[, -1]
> head(breast, 10)
Cl.thickness Cell.size Cell.shape Marg.adhesion Epith.c.size Bare.nuclei
1 5 1 1 1 2 1
2 5 4 4 5 7 10
3 3 1 1 1 2 2
4 6 8 8 1 3 4
5 4 1 1 3 2 1
6 8 10 10 8 7 10
7 1 1 1 1 2 10
8 2 1 2 1 2 1
9 2 1 1 1 2 1
10 4 2 1 1 2 1
Bl.cromatin Normal.nucleoli Mitoses Class
1 3 1 1 benign
2 3 2 1 benign
3 3 1 1 benign
4 3 7 1 benign
5 3 1 1 benign
6 9 7 1 malignant
7 3 1 1 benign
8 3 1 1 benign
9 1 1 5 benign
10 2 1 1 benign
> breast$Class <- factor(breast$Class)
> for(i in 1:9) {
+ breast[, i] <- as.numeric(as.character(breast[, i]))
+ }
>
> #Train GLM model
> glm_model <- train(Class ~ ., data = breast, method = "glm", family = "binomial")
Flavor: r-devel-windows-x86_64
Version: 1.0.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'introduction.Rmd' using rmarkdown
Flavor: r-devel-windows-x86_64