problems installing tidyr dev version

I am unable to install the tidyr dev version from github. Any idea what could be the cause? Thx!!

> devtools::install_github("tidyverse/tidyr")
Downloading GitHub repo tidyverse/tidyr@master
These packages have more recent versions available.
Which would you like to update?

1:   All
2:   CRAN packages only
3:   None
4:   vctrs (0.1.0 -> e0c0ed48c...) [GitHub]
5:   rlang (0.3.4 -> 6a232c019...) [GitHub]

Enter one or more numbers separated by spaces, or an empty line to cancel
1: 
√  checking for file 'C:\Users\Roland\AppData\Local\Temp\RtmpC2Bm4L\remotes20dc3d5e31e8\tidyverse-tidyr-56fb136/DESCRIPTION' (482ms)
-  preparing 'tidyr': (801ms)
√  checking DESCRIPTION meta-information ... 
-  cleaning src
-  checking for LF line-endings in source and make files and shell scripts (538ms)
-  checking for empty or unneeded directories
-  looking to see if a 'data/datalist' file should be added
-  building 'tidyr_0.8.3.9000.tar.gz'
   
Installing package into ‘C:/Users/Roland/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'tidyr' ...
** using staged installation
** libs

*** arch - i386
C:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG  -I"C:/Users/Roland/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c RcppExports.cpp -o RcppExports.o
C:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG  -I"C:/Users/Roland/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c fill.cpp -o fill.o
C:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG  -I"C:/Users/Roland/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c melt.cpp -o melt.o
C:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG  -I"C:/Users/Roland/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c simplifyPieces.cpp -o simplifyPieces.o
C:/Rtools/mingw_32/bin/g++ -shared -s -static-libgcc -o tidyr.dll tmp.def RcppExports.o fill.o melt.o simplifyPieces.o -LC:/PROGRA~1/R/R-36~1.0/bin/i386 -lR
installing to C:/Users/Roland/Documents/R/win-library/3.6/00LOCK-tidyr/00new/tidyr/libs/i386

*** arch - x64
C:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG  -I"C:/Users/Roland/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c RcppExports.cpp -o RcppExports.o
C:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG  -I"C:/Users/Roland/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c fill.cpp -o fill.o
C:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG  -I"C:/Users/Roland/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c melt.cpp -o melt.o
C:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG  -I"C:/Users/Roland/Documents/R/win-library/3.6/Rcpp/include"        -O2 -Wall  -mtune=generic -c simplifyPieces.cpp -o simplifyPieces.o
C:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o tidyr.dll tmp.def RcppExports.o fill.o melt.o simplifyPieces.o -LC:/PROGRA~1/R/R-36~1.0/bin/x64 -lR
installing to C:/Users/Roland/Documents/R/win-library/3.6/00LOCK-tidyr/00new/tidyr/libs/x64
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  namespace 'vctrs' 0.1.0 is being loaded, but >= 0.1.0.9003 is required
Calls: <Anonymous> ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'tidyr'
* removing 'C:/Users/Roland/Documents/R/win-library/3.6/tidyr'
* restoring previous 'C:/Users/Roland/Documents/R/win-library/3.6/tidyr'
Error in i.p(...) : 
  (converted from warning) installation of package ‘C:/Users/Roland/AppData/Local/Temp/RtmpC2Bm4L/file20dc2b0f3908/tidyr_0.8.3.9000.tar.gz’ had non-zero exit status

just to add, I also tried to update vctrs but doesn't help

*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
Error: package or namespace load failed for 'vctrs':
 .onLoad failed in loadNamespace() for 'vctrs', details:
  call: is_string(x)
  error: object 'rlang_is_string' not found
Error: loading failed
Execution halted
ERROR: loading failed for 'x64'
* removing 'C:/Users/Roland/Documents/R/win-library/3.6/vctrs'
* restoring previous 'C:/Users/Roland/Documents/R/win-library/3.6/vctrs'
Error in i.p(...) : 
  (converted from warning) installation of package ‘C:/Users/Roland/AppData/Local/Temp/RtmpYP5fjk/file92c2ffd68f6/vctrs_0.1.0.9003.tar.gz’ had non-zero exit status

What have you answered to this question?
Notice that you also need the dev versions of rlang and vctrs so they have to be installed from GitHub.

Hi all,
I confirm the issue. I was able to install the dev version of rlang package, but such version doesn't work with pkgload package.

> packageVersion("rlang")
[1] ‘0.3.4.9003’

> devtools::install_github("r-lib/vctrs")
Error: .onLoad failed in loadNamespace() for 'pkgload', details:
  call: is_string(x)
  error: object 'rlang_is_string' not found

Thanks,
Domi

I solved the issue by manually deleting the rlang folder(s). There were two, one called rlang, the other something like lockrlang. Afterwards I reinstalled rlang dev and the issue was solved.

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