Hi,
I cannot install the Gtsuammry package, here is the full message, I would be grateful for any help
-=-=-=-=-=-=-=-=-=-=-=-=-=
installing the source packages ‘ggplot2’, ‘tidyselect’, ‘broom’, ‘broom.helpers’, ‘gt’, ‘knitr’, ‘lifecycle’, ‘gtsummary’
trying URL
Content type 'application/x-gzip' length 3150856 bytes (3.0 MB)
downloaded 3.0 MB
trying UR
Content type 'application/x-gzip' length 101498 bytes (99 KB)
downloaded 99 KB
trying URL
Content type 'application/x-gzip' length 641390 bytes (626 KB)
downloaded 626 KB
trying URL
Content type 'application/x-gzip' length 191334 bytes (186 KB)
downloaded 186 KB
trying URL
Content type 'application/x-gzip' length 1294059 bytes (1.2 MB)
downloaded 1.2 MB
trying URL
Content type 'application/x-gzip' length 893585 bytes (872 KB)
downloaded 872 KB
trying URL '
Content type 'application/x-gzip' length 106854 bytes (104 KB)
downloaded 104 KB
trying URL 'https://cran.rstudio.com/src/contrib/gtsummary_1.7.0.tar.gz'
Content type 'application/x-gzip' length 2041460 bytes (1.9 MB)
downloaded 1.9 MB
- 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.30 is being loaded, but >= 0.34 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'knitr' - removing 'C:/Program Files/R/R-4.0.3/library/knitr'
- restoring previous 'C:/Program Files/R/R-4.0.3/library/knitr'
Warning in install.packages :
installation of package ‘knitr’ 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' 1.0.2 is being loaded, but >= 1.0.6 is required
Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'lifecycle' - removing 'C:/Program Files/R/R-4.0.3/library/lifecycle'
- restoring previous 'C:/Program Files/R/R-4.0.3/library/lifecycle'
Warning in install.packages :
installation of package ‘lifecycle’ 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 'vctrs' 0.4.1 is being loaded, but >= 0.5.0 is required
Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'ggplot2' - removing 'C:/Program Files/R/R-4.0.3/library/ggplot2'
- restoring previous 'C:/Program Files/R/R-4.0.3/library/ggplot2'
Warning in install.packages :
installation of package ‘ggplot2’ 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' 1.0.2 is being loaded, but >= 1.0.4 is required
Calls: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'tidyselect' - removing 'C:/Program Files/R/R-4.0.3/library/tidyselect'
- restoring previous 'C:/Program Files/R/R-4.0.3/library/tidyselect'
Warning in install.packages :
installation of package ‘tidyselect’ 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.1 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'broom' - removing 'C:/Program Files/R/R-4.0.3/library/broom'
- restoring previous 'C:/Program Files/R/R-4.0.3/library/broom'
Warning in install.packages :
installation of package ‘broom’ had non-zero exit status - installing source package 'broom.helpers' ...
** package 'broom.helpers' 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(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'lifecycle' 0.2.0 is being loaded, but >= 1.0.1 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'broom.helpers' - removing 'C:/Program Files/R/R-4.0.3/library/broom.helpers'
Warning in install.packages :
installation of package ‘broom.helpers’ had non-zero exit status - installing source package 'gt' ...
** package 'gt' 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(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'lifecycle' 0.2.0 is being loaded, but >= 1.0.1 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'gt' - removing 'C:/Program Files/R/R-4.0.3/library/gt'
Warning in install.packages :
installation of package ‘gt’ had non-zero exit status
ERROR: dependencies 'broom.helpers', 'gt' are not available for package 'gtsummary' - removing 'C:/Program Files/R/R-4.0.3/library/gtsummary'
Warning in install.packages :
installation of package ‘gtsummary’ had non-zero exit status