I am unable to install seminr package in rstudio. need help.
getting the following message
installing source package 'bslib' ...
** package 'bslib' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'htmltools' 0.5.5 is being loaded, but >= 0.5.8 is required
Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'bslib'
- removing 'C:/Users/Atul/Documents/R/win-library/4.1/bslib'
Warning in install.packages :
installation of package ‘bslib’ had non-zero exit status - installing source package 'tinytex' ...
** package 'tinytex' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'xfun' 0.39 is being loaded, but >= 0.48 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'tinytex' - removing 'C:/Users/Atul/Documents/R/win-library/4.1/tinytex'
Warning in install.packages :
installation of package ‘tinytex’ had non-zero exit status - installing source package 'knitr' ...
** package 'knitr' successfully unpacked and MD5 sums checked
** using staged installation
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'xfun' 0.39 is being loaded, but >= 0.48 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'knitr' - removing 'C:/Users/Atul/Documents/R/win-library/4.1/knitr'
Warning in install.packages :
installation of package ‘knitr’ had non-zero exit status
ERROR: dependencies 'bslib', 'knitr', 'tinytex' are not available for package 'rmarkdown' - removing 'C:/Users/Atul/Documents/R/win-library/4.1/rmarkdown'
Warning in install.packages :
installation of package ‘rmarkdown’ had non-zero exit status
ERROR: dependencies 'knitr', 'rmarkdown' are not available for package 'htmlwidgets' - removing 'C:/Users/Atul/Documents/R/win-library/4.1/htmlwidgets'
Warning in install.packages :
installation of package ‘htmlwidgets’ had non-zero exit status
ERROR: dependency 'htmlwidgets' is not available for package 'DiagrammeR' - removing 'C:/Users/Atul/Documents/R/win-library/4.1/DiagrammeR'
Warning in install.packages :
installation of package ‘DiagrammeR’ had non-zero exit status
ERROR: dependencies 'knitr', 'rmarkdown', 'DiagrammeR' are not available for package 'seminr' - removing 'C:/Users/Atul/Documents/R/win-library/4.1/seminr'
Warning in install.packages :
installation of package ‘seminr’ had non-zero exit status