Installation Problem with library(tidyverse)

I am new to R and trying to load the tidyverse with library(tidyverse), i pasting here the output and need your support to fix this.

library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’:
.onAttach failed in attachNamespace() for 'tidyverse', details:
call: NULL
error: package or namespace load failed for ‘stringr’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘stringi’

means

install.packages("stringi")

Thank you so much for your kind advice, I install the stringi package and now getting the following output with some confilcists

library(tidyverse)
── Attaching core tidyverse packages ──────────────── tidyverse 2.0.0 ──
:heavy_check_mark: dplyr 1.1.0 :heavy_check_mark: readr 2.1.4
:heavy_check_mark: forcats 1.0.0 :heavy_check_mark: stringr 1.5.0
:heavy_check_mark: ggplot2 3.4.1 :heavy_check_mark: tibble 3.1.8
:heavy_check_mark: lubridate 1.9.2 :heavy_check_mark: tidyr 1.3.0
:heavy_check_mark: purrr 1.0.1
── Conflicts ────────────────────────────────── tidyverse_conflicts() ──
:heavy_multiplication_x: dplyr::filter() masks stats::filter()
:heavy_multiplication_x: dplyr::lag() masks stats::lag()
:information_source: Use the conflicted package to force all conflicts to become errors

That is just an informative message letting you know some of the loaded tidyverse packages have functions with the same name as other previously loaded packages.it is not an error message so you are good to go.

Thank you very much for great support.

This topic was automatically closed 21 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.