r3fang / SnapATAC

Analysis Pipeline for Single Cell ATAC-seq
GNU General Public License v3.0
296 stars 124 forks source link

namespace ‘rlang’ 0.4.6 is already loaded, but >= 0.4.7 is required #210

Closed brianpenghe closed 3 years ago

brianpenghe commented 3 years ago

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:

  1. library(SnapATAC)
  2. 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) . })
  3. tryCatchList(expr, classes, parentenv, handlers)
  4. tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5. value[3L]
  6. stop(msg, call. = FALSE, domain = NA)

Any ideas? I've already installed rlang

brianpenghe commented 3 years ago

OK I solved this problem by quitting all R kernels, and reinstalling 'rlang' outside Dev mode