When I try to run these lines, I keep getting the issue below- any way to resolve this?? Thanks!
pkgs<-c('lmerTest', 'ggplot2')
suppressMessages(lapply(pkgs, require, character.only = TRUE))
require(lme4)
library(lmerTest)
require(interactions)
library(ggplot2)
require(apaTables)
library(apaTables)
Error: package or namespace load failed for ‘lmerTest’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘vctrs’
Try to install vctrs from github and this helped in my case.
install.packages("vctrs", repos = "https://packagemanager.rstudio.com/cran/latest")
Related
install.packages("gtsummary")
library(gtsummary)
Error: package or namespace load failed for ‘gtsummary’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘glue’ 1.4.2 is already loaded, but >= 1.6.0 is required
I am trying to use the function tbl_regression but every time I type library(gtsummary), I get this message and a failure. How can I solve this problem?
getting the following error while trying to use library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): namespace ‘ggplot2’ 3.3.0 is being loaded, but >= 3.3.3 is required
I updated ggplot2 many times but still getting the error
When I try to load tidyverse I get this message:
library("tidyverse")
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘dplyr’ 1.0.2 is already loaded, but >= 1.0.3 is required
Además: Warning message:
package ‘tidyverse’ was built under R version 4.0.3
When executing library(forecast) in R I get this message:
Error: package or namespace load failed for ‘forecast’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
no package named ‘quadprog’ is found
I have tried the following steps:
install.packages("Rcmdr", dependencies=TRUE)
install.packages("knitr", dependencies=TRUE)
library(Rcmdr)
output for this step is below
Loading required package: RcmdrMisc
Error: package or namespace load failed for ‘RcmdrMisc’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘knitr’
Error: package ‘RcmdrMisc’ could not be loaded
I'm working in Rversion=3.4.1 & Rstudio=1.0.143