namespace ‘rlang’ 0.4.6 is already loaded, but >= 0.4.7 is required
brianpenghe opened this issue · comments
I ran this command:
library(SnapATAC)
and got this error:
Error: package or namespace load failed for ‘SnapATAC’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 0.4.6 is already loaded, but >= 0.4.7 is required
Traceback:
- library(SnapATAC)
- tryCatch({
. attr(package, "LibPath") <- which.lib.loc
. ns <- loadNamespace(package, lib.loc)
. env <- attachNamespace(ns, pos = pos, deps)
. }, error = function(e) {
. P <- if (!is.null(cc <- conditionCall(e)))
. paste(" in", deparse(cc)[1L])
. else ""
. msg <- gettextf("package or namespace load failed for %s%s:\n %s",
. sQuote(package), P, conditionMessage(e))
. if (logical.return)
. message(paste("Error:", msg), domain = NA)
. else stop(msg, call. = FALSE, domain = NA)
. }) - tryCatchList(expr, classes, parentenv, handlers)
- tryCatchOne(expr, names, parentenv, handlers[[1L]])
- value[3L]
- stop(msg, call. = FALSE, domain = NA)
Any ideas? I've already installed rlang
OK I solved this problem by quitting all R kernels, and reinstalling 'rlang' outside Dev mode