PMassicotte/gtrendsR

namespace ‘vctrs’ 0.4.2 is already loaded, but >= 0.5.0 is required

Closed this issue · 0 comments

USING THIS CODE ALMOST EVERY DAY
if (!require("devtools")) install.packages("devtools")
devtools::install_github("PMassicotte/gtrendsR")

BUT TODAY GETTING AN ERROR

Error: package or namespace load failed for ‘gtrendsR’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 namespace ‘vctrs’ 0.4.2 is already loaded, but >= 0.5.0 is required
Traceback:

1. library(gtrendsR)
2. tryCatch({
 .     attr(package, "LibPath") <- which.lib.loc
 .     ns <- loadNamespace(package, lib.loc)
 .     env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)
 . }, 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 && !quietly) 
 .         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]](cond)
6. stop(msg, call. = FALSE, domain = NA)
7. ```