r3fang / SnapATAC

Analysis Pipeline for Single Cell ATAC-seq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  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

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