can not install packages

Hello everyone, I am a new user of R and I have that problem with installing packages when I use R desktop, I have installed R

install.packages("tidyverse")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/tidyverse_1.3.2.zip'
Content type 'application/zip' length 428925 bytes (418 KB)
downloaded 418 KB

package ‘tidyverse’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Marmara\AppData\Local\Temp\Rtmpk5IHGn\downloaded_packages

If you run

library(tidyverse)

do you get an error? If not, you can ignore the warning about Rtools.

no errors with library

library(tidyverse)
-- Attaching packages ------------------------------------------------ tidyverse 1.3.2 --
v ggplot2 3.4.0 v purrr 1.0.0
v tibble 3.1.8 v dplyr 1.0.10
v tidyr 1.2.1 v stringr 1.5.0
v readr 2.1.3 v forcats 0.5.2
-- Conflicts --------------------------------------------------- tidyverse_conflicts() --
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()

can I complete codes without installing any packages?

Thanks for replying , I appreciate

You did install the tidyverse packages. Since using library(tidyverse) works, you can use the packages.

I do not know what caused the warning about Rtools but a warning is not fatal to the installation process. An error is fatal.

Thank you, it is very useful

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.