Tidyverse does not install

Hey everyone!

Who could help me with this problem?

install.packages("tidyverse")

  • 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.1.1 is being loaded, but >= 0.5.4 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'bslib'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/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.22 is being loaded, but >= 0.29 is required
    Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'tinytex'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/tinytex'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/tinytex'
    Warning in install.packages :
    installation of package ‘tinytex’ had non-zero exit status
  • installing source package 'lifecycle' ...
    ** package 'lifecycle' 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 'rlang' 0.4.11 is being loaded, but >= 1.0.6 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'lifecycle'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/lifecycle'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/lifecycle'
    Warning in install.packages :
    installation of package ‘lifecycle’ had non-zero exit status
  • installing source package 'callr' ...
    ** package 'callr' 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 'processx' 3.5.2 is being loaded, but >= 3.6.1 is required
    Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'callr'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/callr'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/callr'
    Warning in install.packages :
    installation of package ‘callr’ had non-zero exit status
  • installing source package 'conflicted' ...
    ** package 'conflicted' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'rlang' 0.4.11 is being loaded, but >= 1.0.0 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'conflicted'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/conflicted'
    Warning in install.packages :
    installation of package ‘conflicted’ had non-zero exit status
  • installing source package 'tidyselect' ...
    ** package 'tidyselect' 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 'rlang' 0.4.11 is being loaded, but >= 1.0.4 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'tidyselect'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/tidyselect'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/tidyselect'
    Warning in install.packages :
    installation of package ‘tidyselect’ had non-zero exit status
  • installing source package 'scales' ...
    ** package 'scales' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'rlang' 0.4.11 is being loaded, but >= 1.0.0 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'scales'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/scales'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/scales'
    Warning in install.packages :
    installation of package ‘scales’ had non-zero exit status
  • installing source package 'gargle' ...
    ** package 'gargle' 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 'rlang' 0.4.11 is being loaded, but >= 1.1.0 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'gargle'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/gargle'
    Warning in install.packages :
    installation of package ‘gargle’ had non-zero exit status
  • installing source package 'forcats' ...
    ** package 'forcats' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'rlang' 0.4.11 is being loaded, but >= 1.0.0 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'forcats'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/forcats'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/forcats'
    Warning in install.packages :
    installation of package ‘forcats’ had non-zero exit status
  • installing source package 'hms' ...
    ** package 'hms' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'rlang' 0.4.11 is being loaded, but >= 1.0.2 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'hms'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/hms'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/hms'
    Warning in install.packages :
    installation of package ‘hms’ had non-zero exit status
  • installing source package 'pillar' ...
    ** package 'pillar' 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 'rlang' 0.4.11 is already loaded, but >= 1.0.2 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'pillar'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/pillar'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/pillar'
    Warning in install.packages :
    installation of package ‘pillar’ had non-zero exit status
  • installing source package 'rvest' ...
    ** package 'rvest' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** demo
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'rlang' 0.4.11 is being loaded, but >= 1.0.0 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'rvest'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/rvest'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/rvest'
    Warning in install.packages :
    installation of package ‘rvest’ had non-zero exit status
  • installing source package 'stringr' ...
    ** package 'stringr' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'rlang' 0.4.11 is being loaded, but >= 1.0.0 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'stringr'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/stringr'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/stringr'
    Warning in install.packages :
    installation of package ‘stringr’ had non-zero exit status
    ERROR: dependency 'bslib' is not available for package 'rmarkdown'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/rmarkdown'
    Warning in install.packages :
    installation of package ‘rmarkdown’ had non-zero exit status
  • installing source package 'broom' ...
    ** package 'broom' 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 'lifecycle' 0.2.0 is being loaded, but >= 1.0.0 is required
    Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'broom'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/broom'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/broom'
    Warning in install.packages :
    installation of package ‘broom’ had non-zero exit status
  • installing source package 'dbplyr' ...
    ** package 'dbplyr' 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 'rlang' 0.4.11 is being loaded, but >= 1.0.6 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'dbplyr'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/dbplyr'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/dbplyr'
    Warning in install.packages :
    installation of package ‘dbplyr’ had non-zero exit status
  • installing source package 'dtplyr' ...
    ** package 'dtplyr' 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 'rlang' 0.4.11 is being loaded, but >= 1.0.4 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'dtplyr'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/dtplyr'
    Warning in install.packages :
    installation of package ‘dtplyr’ had non-zero exit status
  • installing source package 'ggplot2' ...
    ** package 'ggplot2' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'rlang' 0.4.11 is being loaded, but >= 1.1.0 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'ggplot2'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/ggplot2'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/ggplot2'
    Warning in install.packages :
    installation of package ‘ggplot2’ had non-zero exit status
    ERROR: dependency 'gargle' is not available for package 'googledrive'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/googledrive'
    Warning in install.packages :
    installation of package ‘googledrive’ had non-zero exit status
    ERROR: dependencies 'gargle', 'googledrive' are not available for package 'googlesheets4'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/googlesheets4'
    Warning in install.packages :
    installation of package ‘googlesheets4’ had non-zero exit status
  • installing source package 'modelr' ...
    ** package 'modelr' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'rlang' 0.4.11 is being loaded, but >= 1.0.6 is required
    Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
    Execução interrompida
    ERROR: lazy loading failed for package 'modelr'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/modelr'
  • restoring previous 'C:/Users/Acer/Documents/R/win-library/3.6/modelr'
    Warning in install.packages :
    installation of package ‘modelr’ had non-zero exit status
    ERROR: dependency 'rmarkdown' is not available for package 'reprex'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/reprex'
    Warning in install.packages :
    installation of package ‘reprex’ had non-zero exit status
    ERROR: dependencies 'conflicted', 'dtplyr', 'googledrive', 'googlesheets4', 'reprex' are not available for package 'tidyverse'
  • removing 'C:/Users/Acer/Documents/R/win-library/3.6/tidyverse'
    Warning in install.packages :
    installation of package ‘tidyverse’ had non-zero exit status

The downloaded source packages are in
‘C:\Users\Acer\AppData\Local\Temp\RtmpILbrvE\downloaded_packages’

Please :pleading_face:

For each of these errors, run first

install.packages(“htmltools”)

It is working now, thank you so much.

Solved!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.