library(mice)
Error: package or namespace load failed for ‘mice’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘R6’
In addition: Warning message:
package ‘mice’ was built under R version 4.0.5
data <- read.csv(file.choose(), header = TRUE, sep=";")
imp <- 100
tempData <- mice(data,m=imp,maxit=5,seed=7)
Error in mice(data, m = imp, maxit = 5, seed = 7) :
could not find function "mice"