Recently when trying to load the GenomicSEM package, I am getting an error of:
Error: package or namespace load failed for ‘GenomicSEM’ in namespaceImportFrom(self, asNamespace(ns), from = from, except = except):
lazy-load database '/usr/local/lib/R/site-library/magrittr/R/magrittr.rdb' is corrupt
Has anyone else received this error? I am running R version 4.0.2, and using the following lines of code to install and load GenomicSEM package.
install.packages("devtools")
library(devtools)
install_github("MichelNivard/GenomicSEM", dependencies=TRUE)
require(GenomicSEM)
Any suggestions?
Thank You,
Ravi