I am trying to install following packages: rmarkdown, knitr, mdsr.
But when I try to install them, same error occurs like below
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'xfun' 0.43 is being loaded, but >= 0.44 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'knitr'
removing 'C:/Users/LG-PC/AppData/Local/R/new-library/knitr'
Warning in install.packages :
installation of package ‘knitr’ had non-zero exit status
How should I handle it? I am stuck