installing source package 'tidyverse' ...
** package 'tidyverse' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Warning: S3 methods '[.haven_labelled', '[.haven_labelled_spss', 'as.data.frame.haven_labelled', 'as_factor.data.frame', 'as_factor.haven_labelled', 'as_factor.labelled', 'format.pillar_shaft_haven_labelled_chr', 'format.pillar_shaft_haven_labelled_num', 'is.na.haven_labelled_spss', 'print.haven_labelled', 'print.haven_labelled_spss', 'type_sum.haven_labelled', 'zap_formats.data.frame', 'zap_formats.default', 'zap_label.data.frame', 'zap_label.default', 'zap_labels.data.frame', 'zap_labels.default', 'zap_labels.haven_labelled', 'zap_labels.haven_labelled_spss', 'zap_missing.data.frame', 'zap_missing.default', 'zap_missing.haven_labelled', 'zap_missing.haven_labelled_spss', 'zap_widths.data.frame', 'zap_widths.default' were declared in NAMESPACE but not found
Error in library.dynam(lib, package, package.lib) :
DLL 'haven' not found: maybe not installed for this architecture?
ERROR: lazy loading failed for package 'tidyverse'
removing 'C:/Users/owais/Documents/R/win-library/3.4/tidyverse'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\owais\Documents\R\win-library\3.4" C:\Users\owais\AppData\Local\Temp\Rtmp6zMZ5l/downloaded_packages/tidyverse_1.3.0.tar.gz' had status 1
Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\owais\AppData\Local\Temp\Rtmp6zMZ5l\downloaded_packages’
installing source package 'tidyverse' ...
** package 'tidyverse' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'xml2' 1.2.0 is already loaded, but >= 1.2.2 is required
ERROR: lazy loading failed for package 'tidyverse'
removing 'C:/Users/owais/Documents/R/win-library/3.4/tidyverse'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\owais\Documents\R\win-library\3.4" C:\Users\owais\AppData\Local\Temp\Rtmp6zMZ5l/downloaded_packages/tidyverse_1.3.0.tar.gz' had status 1
Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\owais\AppData\Local\Temp\Rtmp6zMZ5l\downloaded_packages’
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: