Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'rlang' 0.2.0 is being loaded, but >= 0.2.1 is required
I ran the [rlang] updated as suggested. It says that there is a later source version but seems to default to the 0.2.0 compiled binary instead.
when I try <library(tidyverse)> I get "object 'vI' not found"
It I try the same update approach for [tidyverse] (and select updated [rlang]) I still get the same error. seems I am in a recursive error loop.
outputs..
>remotes::update_packages("rlang")
Installing 1 packages: rlang
Installing package into ‘C:/Users/MetaBox/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
rlang 0.2.0 0.3.0.1 TRUE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/rlang_0.2.0.zip'
Content type 'application/zip' length 754726 bytes (737 KB)
downloaded 737 KB
>remotes::update_packages("tidyverse")
package ‘tidyselect’ successfully unpacked and MD5 sums checked
package ‘glue’ successfully unpacked and MD5 sums checked
package ‘rlang’ successfully unpacked and MD5 sums checked
package ‘tidyr’ successfully unpacked and MD5 sums checked
>library(tidyverse)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
object 'vI' not found
Error: package or namespace load failed for ‘tidyverse’
The default behavior of install.packages() (which remotes::update_packages() relies on under the hood) varies by operating system. On Windows, if R is not offering to install from source for packages that need to be compiled, then you should verify that you have the RTools installed and configured correctly.
You can force installation from source with:
install.packages("rlang", type = "source")
(Or pass "source" as the type parameter to remotes::update_packages())
But again, this will not work unless you have the RTools correctly installed.