Installing a Bioconductor package such as ClassifyR fails because the installation tries to update some packages but can't overwrite them.
library(BiocManager) # Obtaiin it from CRAN, if not installed.
install("ClassifyR")
The error which happens is "installation path not writeable, unable to update packages: class, codetools".