The cause is very complicated, I want to install the smar package, and then report the error impute package installation failed. Then tried to use the install.packages("impute")
installation, failed again, error: package 'impute' is not available (for R version 3.6.1)
[Note] My R version seems to be 3.6.4.
At present, most of the methods found on the Internet are:
but when I used it, I still found an error.
Then found a new installation method of impute on the biocunductor website (link: bioconductor ):
found that this code is mainly for R versions above 3.6
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("impute")
Note after use , if time is tight, in update all / some / none, it is best to choose n, because update all really takes a long time, so long I read 27 pages of garbage books. (Not the problem of all books, it is the problem of the book I chose. I was deceived by my fame. I am sad.)
Ref: http://www.bioconductor.org/packages/release/bioc/html/impute.html