Installation Error

Installing package into ‘C:/Users/Akshay/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
also installing the dependencies ‘broom’, ‘dbplyr’, ‘dplyr’, ‘dtplyr’, ‘modelr’


  There are binary versions available but the source versions are later:
          binary source needs_compilation
broom      0.5.6  0.7.6             FALSE
dbplyr     1.4.3  2.1.1             FALSE
dplyr      0.8.5  1.0.6              TRUE
dtplyr     1.0.1  1.1.0             FALSE
modelr     0.1.6  0.1.8             FALSE
tidyverse  1.3.0  1.3.1             FALSE

installing the source packages ‘broom’, ‘dbplyr’, ‘dplyr’, ‘dtplyr’, ‘modelr’, ‘tidyverse’

trying URL 'https://cran.rstudio.com/src/contrib/broom_0.7.6.tar.gz'
Content type 'application/x-gzip' length 631820 bytes (617 KB)
downloaded 617 KB

trying URL 'https://cran.rstudio.com/src/contrib/dbplyr_2.1.1.tar.gz'
Content type 'application/x-gzip' length 581845 bytes (568 KB)
downloaded 568 KB

trying URL 'https://cran.rstudio.com/src/contrib/dplyr_1.0.6.tar.gz'
Content type 'application/x-gzip' length 954401 bytes (932 KB)
downloaded 932 KB

trying URL 'https://cran.rstudio.com/src/contrib/dtplyr_1.1.0.tar.gz'
Content type 'application/x-gzip' length 111895 bytes (109 KB)
downloaded 109 KB

trying URL 'https://cran.rstudio.com/src/contrib/modelr_0.1.8.tar.gz'
Content type 'application/x-gzip' length 121333 bytes (118 KB)
downloaded 118 KB

trying URL 'https://cran.rstudio.com/src/contrib/tidyverse_1.3.1.tar.gz'
Content type 'application/x-gzip' length 702779 bytes (686 KB)
downloaded 686 KB

ERROR: failed to lock directory 'C:/Users/Akshay/Documents/R/win-library/3.5' for modifying
Try removing 'C:/Users/Akshay/Documents/R/win-library/3.5/00LOCK-dplyr'
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘dplyr’ had non-zero exit status
ERROR: dependency 'dplyr' is not available for package 'broom'
* removing 'C:/Users/Akshay/Documents/R/win-library/3.5/broom'
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘broom’ had non-zero exit status
ERROR: dependency 'dplyr' is not available for package 'dbplyr'
* removing 'C:/Users/Akshay/Documents/R/win-library/3.5/dbplyr'
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘dbplyr’ had non-zero exit status
ERROR: dependency 'dplyr' is not available for package 'dtplyr'
* removing 'C:/Users/Akshay/Documents/R/win-library/3.5/dtplyr'
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘dtplyr’ had non-zero exit status
ERROR: dependency 'broom' is not available for package 'modelr'
* removing 'C:/Users/Akshay/Documents/R/win-library/3.5/modelr'
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘modelr’ had non-zero exit status
ERROR: dependencies 'broom', 'dbplyr', 'dplyr', 'dtplyr', 'modelr' are not available for package 'tidyverse'
* removing 'C:/Users/Akshay/Documents/R/win-library/3.5/tidyverse'
In R CMD INSTALL
Warning in install.packages :
  installation of package ‘tidyverse’ had non-zero exit status
`` `

I have installed the necessary packages broom,dbplyr,dplyr,dtplyr and modelr but got same ERROR.

Follow the instructions from the error message and try removing that file.

Also I would suggest updating your R version since the one you are using is very old and that might bring you a lot of installation issues.

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.