Hi, I am new to RStudio. I am trying to install some packages. In many of them I got this error (see below). I have already tried to update, uninstall and install rlang, restart R studio, but nothing worked. Could you please recommend any ideas what to do?
Thank you
Example:
install.packages("tidyverse")
Asnwer:
Installing package into ‘..R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependencies ‘vctrs’, ‘ellipsis’, ‘broom’, ‘dbplyr’, ‘dplyr’, ‘dtplyr’, ‘ggplot2’, ‘googledrive’, ‘googlesheets4’, ‘haven’, ‘hms’, ‘modelr’, ‘pillar’, ‘tibble’, ‘tidyr’
- installing source package ‘vctrs’ ...
** package ‘vctrs’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
** R
** inst
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'rlang', details:
call: NULL
error: 'is_character' is not an exported object from 'namespace:rlang'
Execution halted
ERROR: lazy loading failed for package ‘vctrs’ - removing ‘../R/x86_64-pc-linux-gnu-library/3.6/vctrs’
Warning in install.packages :
installation of package ‘vctrs’ had non-zero exit status