Error installing vctrs

Dear all,

Today, I upgraded from R 3.6.6 to 4.0.2 and followed the instructions in this chapter to update all my packages. However, I am finding an error when installing the vctrs package.

You may find below the error that I got and my sessionInfo(). I Would highly appreciate your help.

Thanks.
Andres

install.packages("vctrs")
#> Installing package into 'C:/Users/wb384996/OneDrive - WBG/Documents/R/win-library/4.0'
#> (as 'lib' is unspecified)
#> Warning in download.file(url, destfile, method, mode = "wb", ...): cannot open
#> URL 'http://cran.rstudio.com/bin/windows/contrib/4.0/vctrs_0.3.4.zip': HTTP
#> status was '404 Not Found'
#> Error in download.file(url, destfile, method, mode = "wb", ...) : 
#>   cannot open URL 'http://cran.rstudio.com/bin/windows/contrib/4.0/vctrs_0.3.4.zip'
#> Warning in download.packages(pkgs, destdir = tmpd, available = available, :
#> download of package 'vctrs' failed
sessionInfo() 
#> R version 4.0.2 (2020-06-22)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 18363)
#> 
#> Matrix products: default
#> 
#> locale:
#> [1] LC_COLLATE=English_United States.1252 
#> [2] LC_CTYPE=English_United States.1252   
#> [3] LC_MONETARY=English_United States.1252
#> [4] LC_NUMERIC=C                          
#> [5] LC_TIME=English_United States.1252    
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> loaded via a namespace (and not attached):
#>  [1] compiler_4.0.2  magrittr_1.5    tools_4.0.2     htmltools_0.5.0
#>  [5] yaml_2.2.1      stringi_1.4.6   rmarkdown_2.3   highr_0.8      
#>  [9] knitr_1.29      stringr_1.4.0   xfun_0.16       digest_0.6.25  
#> [13] rlang_0.4.7     evaluate_0.14

Created on 2020-09-03 by the reprex package (v0.3.0)

Sometime else just posted this same thing today. You just need to install the previous version of vctrs

Awesome. Thank you so much! sorry for my ignorance. I should've thought about it before. Since the current version of vctrs is 0.3.4, I installed 0.3.3 by doing the following and it worked fine.

remotes::install_version("vctrs", version = "0.3.3", repos = "http://cran.us.r-project.org")

Thanks.
Best,

This topic was automatically closed 7 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.