Unable to install "pillar" package

I'm trying to install tidyverse. It used to work fine on my computer, but this time it fails to install due to problems with "pillars" package. So I figured that I will install "pillars" separately. It seems to go just fine until it reaches the following error:

CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
ERROR: dependencies 'rlang', 'utf8', 'vctrs' are not available for package 'pillar'
* removing '\\spplfapcen06/userdata/AW57BH/Documents/R/win-library/3.4/pillar'
Warning in install.packages :
  running command '"C:/PROGRA~1/R/R-34~1.0/bin/x64/R" CMD INSTALL -l "\\spplfapcen06\userdata\AW57BH\Documents\R\win-library\3.4" C:\Users\B0662028\AppData\Local\Temp\RtmpaOxTll/downloaded_packages/pillar_1.4.0.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘pillar’ had non-zero exit status

The downloaded source packages are in
```CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
ERROR: dependencies 'rlang', 'utf8', 'vctrs' are not available for package 'pillar'
* removing '\\spplfapcen06/userdata/AW57BH/Documents/R/win-library/3.4/pillar'
Warning in install.packages :
  running command '"C:/PROGRA~1/R/R-34~1.0/bin/x64/R" CMD INSTALL -l "\\spplfapcen06\userdata\AW57BH\Documents\R\win-library\3.4" C:\Users\B0662028\AppData\Local\Temp\RtmpaOxTll/downloaded_packages/pillar_1.4.0.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘pillar’ had non-zero exit status

The downloaded source packages are in
	‘C:\Users\B0662028\AppData\Local\Temp\RtmpaOxTll\downloaded_packages

I tried to install rlang, vctrs and utf8 separately, but it doesn't solve the problem.
I also tried to install via devtools::install_github("r-lib/pillar"), but it sends me this:

"Error in curl::curl_fetch_memory(url, handle = h) :
Could not resolve host: api.github.com"

I would be really grateful for any help.

Have you tried updating R version to 3.6.0?

This helped a little bit, because I managed to install "pillar". However, I'm still unable to install "tidyverse" because of "rvest" this time. When I try to install it this error happens:

install.packages("rvest")

There is a binary version available but the source version is later:
binary source needs_compilation
rvest 0.3.3 0.3.4 FALSE

installing the source package ‘rvest’

trying URL 'https://cran.rstudio.com/src/contrib/rvest_0.3.4.tar.gz'
Content type 'application/x-gzip' length 1631028 bytes (1.6 MB)
downloaded 1.6 MB

'\spplfapcen06\userdata\AW57BH\Documents'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
'\spplfapcen06\userdata\AW57BH\Documents\R\R-3.6.0' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
installation of package ‘rvest’ had non-zero exit status

I tried installing from github, but receive this error:
Error in curl::curl_fetch_memory(url, handle = h) :
Could not resolve host: api.github.com

What am I doing wrong?

The same applies to package "xfun". Some packages install without problems and some other report the same error. I'm puzzled.

The problem solved itself after I ran this command: update.packages(checkBuilt=TRUE, ask=FALSE) . Tidyverse installed itself all well.

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