Error: there is no package called vctrs

I am getting an error with most of my builds:

* installing *source* package ‘tibble’ ...
** package ‘tibble’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -I"/home/travis/R-bin/lib/R/include" -DNDEBUG   -I/home/travis/R-bin/include  -fpic  -g -O2  -c coerce.c -o coerce.o
gcc -I"/home/travis/R-bin/lib/R/include" -DNDEBUG   -I/home/travis/R-bin/include  -fpic  -g -O2  -c init.c -o init.o
gcc -I"/home/travis/R-bin/lib/R/include" -DNDEBUG   -I/home/travis/R-bin/include  -fpic  -g -O2  -c matrixToDataFrame.c -o matrixToDataFrame.o
gcc -shared -L/home/travis/R-bin/lib/R/lib -L/home/travis/R-bin/lib -o tibble.so coerce.o init.o matrixToDataFrame.o -L/home/travis/R-bin/lib/R/lib -lR
installing to /home/travis/R/Library/00LOCK-tibble/00new/tibble/libs
** R
** inst
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'pillar', details:
  call: utils::packageVersion("vctrs")
  error: there is no package called ‘vctrs’
Execution halted
ERROR: lazy loading failed for package ‘tibble’
* removing ‘/home/travis/R/Library/tibble’
Error in i.p(...) : 
  (converted from warning) installation of package ‘tibble’ had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted

Somehow it cannot install vctrs even though the package exists. I thought this was a temporary glitch, but this is still happening after several builds. This happened on R-release and R-devel.

Please link to an affected build, or there’s not enough information for diagnostics.

Sorry. Here is one of the problematic jobs: https://travis-ci.org/igordot/clustermole/jobs/632527309

Clear the Travis cache.


You were previously installing vctrs with Apt. So some dependent packages that were installed from source (and cached) are still present (thus their dependency trees are not checked) but their dependencies have suddenly gone missing once you stopped installing those packages from Apt.

Thanks! That solved it.

I did not realize caches persist if I modified the config.

Imprint