I start with R studio and I need for my exam use package "tidyverse". I installed it that was without problem but now when I want use library(tidyverse) the result is that: Error in library(tidyverse) : there is no package called ‘tidyverse
And answer is:
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/
Installing package into ‘C:/Users/zuzana/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependencies ‘htmltools’, ‘processx’, ‘xfun’, ‘bslib’, ‘tinytex’, ‘vctrs’, ‘gargle’, ‘vroom’, ‘callr’, ‘knitr’, ‘rmarkdown’, ‘cli’, ‘dbplyr’, ‘dplyr’, ‘forcats’, ‘googledrive’, ‘googlesheets4’, ‘haven’, ‘lubridate’, ‘readr’, ‘reprex’, ‘rlang’, ‘rvest’, ‘tibble’, ‘tidyr’, ‘xml2’
You are not showing the complete console output so I can't know for sure but since you are using a very old R version and you don't have RTools installed, is very likely that some packages that require compilation are not getting installed.
Either install a suitable version of RTools (have in mind that there are specific matching R and RTools versions) or update R so you can get access to precompiled binaries that are much easier to install.