I couldn't install tidyverse, it always shows non-zero exit status, what is the problem?

when I install tidyverse, it always shows non-zero exit status. Can anybody help me?

> install.packages('tidyverse')

*ERROR: compilation failed for package ‘ellipsis’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/ellipsis’
Warning in install.packages :
  installation of package ‘ellipsis’ had non-zero exit status
ERROR: dependency ‘ps’ is not available for package ‘processx’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/processx’
Warning in install.packages :
  installation of package ‘processx’ had non-zero exit status
ERROR: dependency ‘ellipsis’ is not available for package ‘vctrs’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/vctrs’
Warning in install.packages :
  installation of package ‘vctrs’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘callr’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/callr’
Warning in install.packages :
  installation of package ‘callr’ had non-zero exit status
ERROR: dependency ‘vctrs’ is not available for package ‘pillar’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/pillar’
Warning in install.packages :
  installation of package ‘pillar’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘fs’ are not available for package ‘reprex’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/reprex’
Warning in install.packages :
  installation of package ‘reprex’ had non-zero exit status
ERROR: dependency ‘pillar’ is not available for package ‘tibble’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/tibble’
Warning in install.packages :
  installation of package ‘tibble’ had non-zero exit status
ERROR: dependency ‘tibble’ is not available for package ‘feather’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/feather’
Warning in install.packages :
  installation of package ‘feather’ had non-zero exit status
ERROR: dependencies ‘reprex’, ‘tibble’ are not available for package ‘tidyverse’
* removing ‘/Users/lingfeimao/anaconda3/lib/R/library/tidyverse’
Warning in install.packages :
  installation of package ‘tidyverse’ had non-zero exit status

When you install R from anaconda it usually doesn't work well while installing packages from CRAN, so you are limited to update packages using the Anaconda package manager.

Unless you have a good reason for using R through Anaconda, I would recommend you to use a regular stand alone installation instead, it would make things much easier for you.

3 Likes

Hi Andresrcs,

I appreciate your reply. I will install a regular R.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.