rstudio – Using devtools library in R studio

I have problems with running devtools library in R Studio. After successfull installation of devtools package I get this warning when trying to run devtools library:

library(devtools) Loading required package: usethis Error: package or
namespace load failed for ‘devtools’ in loadNamespace(i, c(lib.loc,
.libPaths()), versionCheck = vI[[i]]): namespace ‘htmltools’ 0.5.4 is
already loaded, but >= 0.5.7 is required

I tried to unistall and reinstall usethis but it did not help. I tried unistall usethis and devtools and reinstall devtools once again but it did not help either…

The devtools package was installed with dependencies=TRUE

Read more here: Source link